We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ModuleBuildError: Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: /Users/fengshenhai/workspace/nutui-react/node_modules/taro-vform/src/index.js: Unexpected token, expected "," (52:6)
50 | return ( 51 | <Form
52 | className='v-form' | ^ 53 | onSubmit={handleRef.current.form.submit} 54 | onReset={handleRef.current.form.reset} 55 | >
The text was updated successfully, but these errors were encountered:
看样子,是你把taro-vform 放入nutui-react这个npm包了吗?,这个报错是jsx解析问题,装个jsx的babel插件就能解决 。不过我还是建议taro-vfrom直接装在taro项目里面比较好。最好可以贴下你taro版本和配置 @fengshenhai-0727
Sorry, something went wrong.
No branches or pull requests
ModuleBuildError: Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /Users/fengshenhai/workspace/nutui-react/node_modules/taro-vform/src/index.js: Unexpected token, expected "," (52:6)
50 | return (
51 | <Form
The text was updated successfully, but these errors were encountered: