Use "ExtractCSS" and "SplitChunks layouts"

hareku
15
hareku
commented 10 months ago

Hi.

I would like to extract CSS with layouts / pc.vue and layouts / sp.vue layout and not load each one at the same time.

my config

  build: {
    extractCSS: true,
    splitChunks: {
      layouts: true,
    }
  }

extractCSS works well, but layouts / pc.vue. loads the CSS of layouts / sp.vue in.

What should I do?

0
Informations
Question โ€ข Unresolved
#c8044 - Created 10 months ago