Marsel Shaikhin
Marsel Shaikhin
Hi @sodatea. I've implemented critical CSS collection in https://github.com/phoenix-ru/vue-loader. However, my solution assumes that `vue-style-loader` is used (as with v15). Can you verify if that's acceptable or v16 dropped `vue-style-loader`...
Adding styles to layouts seems a reasonable workaround, however, it leads to style duplication (even when using sass `@use` which should theoretically dedupe). Inlining styles from NuxtConfig.css is something we...
> Why not add the following to app.vue? instead of layouts? > > ``` > > @import '@/assets/css/main.css'; > > ``` I think the role of app.vue is actually the...
> I am not really sure, but I think docs need to be updated then to indicate what is the role of app.vue other than replacing a single layout file....
> The flicker issue (on webpack at least) is related to the missing SSR critical CSS collection in vue-loader v16. I have managed to work around this by using a...
> You need to install the packaged tarball in place of vue-loader and check that npm resolves to the patch. ```sh npm i -D vue-loader@https://github.com/phoenix-ru/vue-loader/releases/download/critical-css/vue-loader.tgz npm ls vue-loader ``` Beware...
> > ```shell > > npm ls vue-loader > > ``` > > ``` > ├─┬ [email protected] invalid: "latest" from the root project > │ └─┬ @nuxt/webpack-builder@npm:@nuxt/[email protected] > │ └──...
> I cant even import things like windi-css which use virtual to mount css Could you elaborate more on that please? The patch I did is naive and works by...
> I've tried quite a few different things to try to resolve this issue on my own project; Hi, in my setup everything works fine when adding it via SCSS...
> > > I've tried quite a few different things to try to resolve this issue on my own project; > > > > > > Hi, in my setup...