tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Duplicate CSS classes created

Open ciarantr opened this issue 2 years ago • 0 comments

Version

@nuxtjs/tailwindcss: 5.3.3 nuxt: 3.0.0-rc.9

Reproduction Link

https://631cddb4b9acb87d305ae359--fantastic-quokka-8abacb.netlify.app

Repo

gh repo clone ciaran-io/sandbox [nuxt3@rc9]

Steps to reproduce

Base setup for Nuxt 3 & Tailwindcss module.

What is Expected?

Expected CSS style to be created in one css file.

What is actually happening?

Duplicated css:

When adding styles in the style tag the same styles are added to the main css file via Tailwind as well as a separate css.vue file.

Vue template

code

Css from Vue template

code-index vue

Css from tailwind created global file

code-main css

ciarantr avatar Sep 10 '22 19:09 ciarantr