-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I define returned jsx in methods
property in SFC?
#221
Comments
the vite plugin process vue is |
That's OK if drop the template block and use <script>
export default {
methods: {
segment () {
return <b>A segment</b>
}
},
render () {
return (
<p>Segment: { this.segment() }</p>
)
}
}
</script> But I must support the template jsx... |
@sodatea Sorry to bother you, take a look at my issue plz, THX! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Env
What happened
Following is my code,
build output as es-module. Last, I got error when using it, the error:
Help me, plz~
The text was updated successfully, but these errors were encountered: