-
-
Notifications
You must be signed in to change notification settings - Fork 148
can not compile jsx in vue file #278
Comments
RPV does not process script code, it provides script code to other plugins like rollup-plugin-babel or rollup-plugin-typescript2. Include required babel configuration for JSX, see https://github.com/vuejs/jsx |
could you give a example code?
|
it is also error when i write from https://github.com/vuejs/jsx
|
@masongzhi any success? |
i found the same errror |
when i use lang=babel in .vue file, it can work <script lang="babel">
// some code
</script> |
const acornJSX = require( 'acorn-jsx' ); rollup({ |
@znck Still seing this error in 5.1.9. Building JSX in normal js files works, but not in .vue files. |
See #429 |
Version
4.7.2
Reproduction link
https://github.com/masongzhi/vugular-ui
Steps to reproduce
yarn build
What is expected?
compile success
What is actually happening?
The text was updated successfully, but these errors were encountered: