Static GitHub Issues

[357] Split css build files (one css file for every page)

prev: How to unit test js functions in the vue instance
next: It's not clear how to include jQuery code

Hi!

I have over 30 nuxt pages.

when i run npm run build

i have 30 js files for every page and 1 css file

It is problem. When i will have 300 pages, my css file size will be over 10-15 Mb

How to split css for every page?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c306">#c306</a>)</em></sub></div>