JSX 语法无法识别 #6815
Unanswered
tinaxu-come-on
asked this question in
Q&A
JSX 语法无法识别
#6815
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
methods:{
renderContent: function (h, node) {
return (
)
}
}
jsx 语法没办法识别 ,如果就普通的js 语言,不会报错,使用jsx就不能正常识别,请问要怎么配置,
有尝试使用https://github.com/vuejs/babel-plugin-transform-vue-jsx,但是还是没用
Beta Was this translation helpful? Give feedback.
All reactions