-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问使用vuex报错 Vue is not defined你怎解决的 #19
Comments
看下面代码,虽然项目里没有
源文件 |
直接用你项目的配置也是不行,但是你的项目是可以,感觉是人品问题 |
很明显你白色图里的打包进去的js代码里没有 vue |
就是没有啊就报错了,web环境下打包进去的还是store.js的源文件。并不是编译好的.temp里的store.js文件,但是删掉.temp文件夹里的store.js又会报错:没找到store.js。我是真的不知道哪里出了问题,先不纠结了,打包web运行的文件先自己手动加下import Vue 吧 |
入口enter.js代码
store.js的代码
修改了configs的配置
运行npm run start 报错
The text was updated successfully, but these errors were encountered: