vue-lazy-hydration icon indicating copy to clipboard operation
vue-lazy-hydration copied to clipboard

Missing extracted css for lazily imported/hydrated components

Open meepleek opened this issue 3 years ago • 0 comments
trafficstars

My setup currently uses MiniCssExtractPlugin which doesn't emit during SSR

loader: MiniCssExtractPlugin.loader,
    options: {
        emit: !ssr,
    },

This works fine except for the components that are using the lazy hydration import wrappers which load their styles only once hydration is triggered, ie. once they are hydrated. I'm doing something wrong or is this to be expected and is there a way around this while still using the import wrappers?

meepleek avatar Oct 18 '22 12:10 meepleek