Parsing error: Using the export keyword between a decorator and a class is not allowed(脚手架修饰器的问题)
在用到 vue-property-decorator 时 vscode提示Parsing error: Using the export keyword between a decorator and a class is not allowed解决方案:在.eslintrc.js中修改:parserOptions: {ecmaFeatures: {legac...
·
在用到 vue-property-decorator 时 vscode提示Parsing error: Using the export keyword between a decorator and a class is not allowed
解决方案:
在.eslintrc.js中修改:
parserOptions: {
ecmaFeatures: {
legacyDecorators: true
}
}
更多推荐
已为社区贡献2条内容
所有评论(0)