我有一个Vue应用程序,我安装了Firebase工具并将应用程序上传到Firebase托管,第一次全部完成并且我执行npm run build
和firebase deploy
,但当我进行任何更改后,稍后执行npm run serve
或build
或firebase deploy
时,我会遇到以下错误:
Template execution failed: ReferenceError: features is not defined
ReferenceError: features is not defined
- index.html:4 eval
[.]/[html-webpack-plugin]/lib/loader.js!./public/index.html:4:10
- index.html:7 module.exports
[.]/[html-webpack-plugin]/lib/loader.js!./public/index.html:7:3
- index.js:284 Promise.resolve.then
[real]/[html-webpack-plugin]/index.js:284:18
- next_tick.js:188 process._tickCallback
internal/process/next_tick.js:188:7
有什么想法吗?我不知道为什么这个问题会成功。谢谢。