Use "ExtractCSS" and "SplitChunks layouts"

hareku
18
hareku
commented a year 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?

1
Informations
Question โ€ข Unresolved
#c8044 - Created a year ago