Comments (4)
I add prefix tw-
for tailwindcss and change the nuxt-purgecss config, then it works for me. thank you
from tailwindcss.
Hi.
purgeCSS: {
whitelistPatterns: [/^v-/, /^theme-/, /^application--/],
whitelistPatternsChildren: [/^v-/, /^theme-/, /^application--/],
whitelist: ['spacer', 'primary', 'secondary', 'accent', 'error', 'warning', 'info', 'success']
},
It's not working when build production
- npm run build
- npm run start
- css will conflict
Could you help me?
@EryouHao
from tailwindcss.
Hi @EryouHao
Could you help me?
Thanks
from tailwindcss.
hi
from tailwindcss.
Related Issues (20)
- Setting up Tailwind CSS for Storybook in the Cleanest Way Possible HOT 9
- Cannot use tailwind config on `app.config` HOT 5
- Version 6.11.x throws a compatability error when Nuxt bridge is not used HOT 4
- Ditch logging viewer URL in favour of devtools HOT 1
- Could not compile templates ui.colors.mjs & ui.colors.d.ts HOT 4
- Pre-transform error in dev mode HOT 2
- Why are unused styles not cleared? HOT 5
- Scope tailwind to certain parts of a nuxt app HOT 3
- Gradient not working in production HOT 7
- Project install fails after updating past version 6.10.2 HOT 2
- Using `c12` and adding support for `/.config` HOT 6
- Custom background color is not displayed in published versions HOT 4
- Nuxt's import protection triggers HOT 5
- How to cancel the styles of h1~h6 and prohibit modification? HOT 1
- W3C Validation Failed - Unsolvable CSS validation errors for variables HOT 5
- Problem differentiating focus state from focus-visible. HOT 1
- Module breaks CSS HMR when an arbitrary value class with whitespace is used HOT 1
- Add "file:" style support HOT 4
- npm install --omit=dev FAILS HOT 2
- Tailwind V4.0 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.