Closed productdevbook closed 2 years ago
63 - I'd suggest using UnoCSS on Nuxt 3.
There are tailwindcss and @apply with scss used codes in the project. I guess we can't switch to UnoCSS.
buildModules: [
[
'unplugin-icons/nuxt',
{
defaultClass: 'w-7 h-7 inline-block',
customCollections: {
red: FileSystemIconLoader('assets/icons'),
},
},
],
],
<red-mdi-book />
[Vue warn]: Failed to resolve component: red-mdi-book
There are tailwindcss and @apply with scss used codes in the project. I guess we can't switch to UnoCSS.
You can have UnoCSS work with Tailwind or other preprocessors by just enabling the icons preset
Auto import for Nuxt is NOT ready - that's what #63 is for
There are tailwindcss and @apply with scss used codes in the project. I guess we can't switch to UnoCSS.
You can have UnoCSS work with Tailwind or other preprocessors by just enabling the icons preset
Hello @antfu , so I tried using unocss with only the icon preset but for some reason, unocss still generates other utility classes which conflicts with windicss(i chose to use windicss)😟
63 - I'd suggest using UnoCSS on Nuxt 3.