You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use @apply in <style> block in my vue files. But I got the error that my class does not exists.
[vite-node] [plugin:vite:css] [CssSyntaxError] ./app.vue:9:2 : The `bar` class does not exist. If `bar` is a custom class, make sure it is defined within a `@layer` directive.
I also tested it without @nuxt/ui module but only @nuxtjs/tailwindcss module, which works perfectly fine.
I looked for config in nuxt UI document, but didn't find anything that could help fixing this.
Environment
Version
2.18.4
Reproduction
https://stackblitz.com/edit/nuxt-ui-rzyn6r?file=assets%2Fcss%2Ftailwind.css
Description
I tried to use
@apply
in<style>
block in my vue files. But I got the error that my class does not exists.I also tested it without
@nuxt/ui
module but only@nuxtjs/tailwindcss
module, which works perfectly fine.I looked for config in nuxt UI document, but didn't find anything that could help fixing this.
Additional context
Here's one reproduction with only
@nuxtjs/tailwindcss
installedhttps://stackblitz.com/edit/nuxt-ui-eadnqo?file=nuxt.config.ts
Logs
No response
The text was updated successfully, but these errors were encountered: