Hello,
I'm using PrimeVue on a laravel project which already has tailwind css installed.
I found that some tailwind classes are conflicting with Primeflex so I would like to add prefix to Primeflex classes.
Is there a way to add prefix to Primeflex classes like p-
Thank you
Top
add prefix to primeflex
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
You can override $prefix variable of primeflex. Exp;
style.scss
You can override $prefix variable of primeflex. Exp;
style.scss
Best Regards,$prefix: 'p-';
@import 'node_modules/primeflex/primeflex.scss'
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests