-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
升级了2.9.4的vux,能启动项目,还是一直提醒报下面的错。$t" is not defined 升级到最新版本 vux-loader.... #3734
Comments
这插件还在改 webpack.base.js 里的配置,vue2.6.x都没有这个文件了,配置都放 vue.config.js 里了。而且 vux-loader 还是强制使用?。。。。。。。。。。弃坑换 vant 吧 |
|
vue-loader升级到15之后对于模版预处理方式改变,导致原来使用vux-loader1.2.9 不能正确打包
修改vux-loader/src/libs/import-parser.js ... 然后将 vue.config.js 配置如下 `
` 做完这些修改,你的基于vux的项目应该可以完美的跑起来了,而且是按需打包。 |
see #3778 |
vue.runtime.esm.js?2b0e:619 [Vue warn]: Property or method "$t" is not defined on the instance xxxxxxxxx
index.js?366f:3 VUX: 如果你看到这一行,说明 vux-loader 配置有问题或者代码书写规范的原因导致无法解析成按需引入组件,会导致打包体积过大。请升级到最新版本 vux-loader,建议开启 eslint(standard)。
index.vue?6ced:53 [VUX] 抱歉,当前组件[cell]要求更新依赖 vux-loader@latest
升级了2.9.4的vux,能启动项目,还是一直提醒报上面的错。
The text was updated successfully, but these errors were encountered: