Open wqcstrong opened 3 years ago
the vite plugin process vue is vite-plugin-vue2@1.5.1
That's OK if drop the template block and use render
function property:
<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!
Env
What happened
Following is my code,
build output as es-module. Last, I got error when using it, the error:
Help me, plz~