zeokku / vite-plugin-vue-css-modules

✨ Ultimate solution for using CSS modules without any hassle.
17 stars 0 forks source link

production mode -- CSS not applied #4

Closed thisVioletHydra closed 1 year ago

thisVioletHydra commented 1 year ago

config

[
      isDevelopmentMode ? mkcert() : undefined,
      ViteAliases(cfg._ViteAliases),

      AutoImport(cfg._AutoImport),
      VueI18nPlugin(cfg._vueI18n),

      Components(cfg._Components),
      svgLoader(),

      staticCssModules({ preservePrefix: '---' }),
      vue(),
      removeCssModulesChunk(),
      // checker({ vueTsc: false }),
    ],

prod mode

image image image

css after build

image

thisVioletHydra commented 1 year ago

stop server workers and clear cookie help me , sor for panic 👀