原文:Support for the experimental syntax 'decorators-legacy' isn't currently enabled

react項目中自己寫了一個裝飾器,運行的時候發現報錯 Support for the experimental syntax decorators legacy isn t currently enabled 這是因為我們么有裝支持裝飾器的組件 Support for the experimental syntax decorators legacy isn t currently enable ...

2020-09-21 10:19 0 1398 推薦指數:

查看詳情

Support for the experimental syntax 'dynamicImport' isn't currently enabled

在我的vue項目中出現了如圖所示的問題: 但是在之前的項目從未遇到過,於是百度了許多,網上介紹的都是intsall @babel/plugin-syntax-dynamic-import 並且在..babelrc中引入的方法,但是在vueCli3.0之后的版本根本不存在這個文件 ...

Fri Jan 10 17:45:00 CST 2020 0 993
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM