Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Use script.render as default when there's no <template> #367

Closed
wants to merge 2 commits into from
Closed

Use script.render as default when there's no <template> #367

wants to merge 2 commits into from

Conversation

weizhenye
Copy link

For SFC without <template> like:

<script>
import { h } from 'vue';

export default {
  render: () => h('div'),
};
</script>

I think it should use script.render as default.

/ping @znck

@znck
Copy link
Member

znck commented Oct 22, 2020

duplicate of #387

@znck znck closed this Oct 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants