Skip to content

[Performance] Why nuxt lab UI cannot pure css? #802

@harrytran998

Description

@harrytran998

Environment

  • Operating System: Darwin
  • Node Version: v20.6.1
  • Nuxt Version: 3.7.3
  • CLI Version: 3.8.4
  • Nitro Version: 2.6.3
  • Package Manager: yarn@1.22.19
  • User Config: devtools, ssr, runtimeConfig, experimental, alias, typescript, ui, css, modules, colorMode, components, postcss, app, image, vueuse, content, nitro, hooks
  • Runtime Modules: unplugin-icons/nuxt, @pinia/nuxt@0.4.11, @nuxt/image@1.0.0-rc.1, @nuxt/content@2.8.2, @vueuse/nuxt@10.4.1, @nuxt/ui@2.9.0, vue3-carousel-nuxt@1.1.0, @nuxtjs/google-fonts@3.0.2, @nuxtjs/fontaine@0.4.1, nuxt-vitest@0.10.4

Version

latest

Reproduction

view-source:https://ui.nuxt.com

Description

Go to any page using Nuxt UI --> Go to page source --> Find the tag <style>/*! tailwindcss v3.3.3 ...</style>.
The whole tailwindcss generated!

Does anyone know how to pure the CSS, only generate the CSS I use in production?

Thank you for reading the spect, hope the core team can take a look at this 🙏.

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions