直接下载仓库代码
输入 tnpm install
输入 npm run dev:h5
报错:
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.
直接下载仓库代码 输入 tnpm install 输入 npm run dev:h5 报错: Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.
怀疑是是@babel/core 7.0与transform-decorators-legacy插件冲突?