We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
需要在vue.config.js添加css配置
vue.config.js
css.extract: false
害惨我了,找了很久的时间才找到这里的问题,建议尽快发布个新版 vuejs/vue-cli#3091
The text was updated successfully, but these errors were encountered:
看了下你说的那个 issue,目测一般情况下不会出现,可能因为你们项目本身大所以出现了这个问题,这个可以在 vue.config.js 中直接配置即可。
不过还是要多谢反馈,以防其他人会遇到类似的坑,好像说的那个限制问题,webpack好像是已知的 issue,目前只能通过这种方式解决了,待相关插件修复后可正常使用。
Sorry, something went wrong.
根本原因是webpack抽离css的问题,间接原因是后编译后超大的css和我们本身项目比较大的原因,但还是建议加上这个设置,因为在vue-cli < 3的里面提到了这个,所以目前的项目并没有问题,我先关掉了。
vue-cli < 3
No branches or pull requests
需要在
vue.config.js
添加css配置害惨我了,找了很久的时间才找到这里的问题,建议尽快发布个新版
vuejs/vue-cli#3091
The text was updated successfully, but these errors were encountered: