Skip to content
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

vue-cli4 构建的时候页面组件中只要有css都会抽离为单独文件,可有配置超过多少才打包成单独文件? #25

Open
ymjdev opened this issue Jan 17, 2020 · 1 comment

Comments

@ymjdev
Copy link

ymjdev commented Jan 17, 2020

如题

image

@MackieLee
Copy link

vue.config.js里面有css.extract控制css文件是否抽离为单独文件。抽离逻辑你可以自己写。

vue-cli4我一直用不了,每次安装node-modules的时候,总会跳出来node-gyp rebuild 然后没反应,我试过晚上挂机让它rebuild,结果第二天也没好。你怎么克服这个问题的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants