以前我在没有配置typescript的情况下配置了nuxt项目,所以我根据以下文档为nuxt安装了sweetalert2:https://www.npmjs.com/package/nuxt-sweetalert2一切正常,然后我在同一项目中设置了typescript,并且在甜蜜警报中出现了错误 我得到的错误是: Property '$swal' does not exis
我使用Nuxt.js项目在我的根目录中放置了jsconfig.json。我有一个错误: File '/home/mike/Documents/nuxt/node_modules/dotenv/types' not found.The file is in the program because:
Root file specified for compilation 实际上在jsconfig.json的第一行