N
Nuxt9mo ago
Ralph

Tailwind CSS error

Keep getting this error in my Nuxt project on save
No description
2 Replies
manniL
manniL9mo ago
do you reference the file somewhere?
Ralph
RalphOP9mo ago
No think only nuxt ui uses it // https://nuxt.com/docs/api/configuration/nuxt-config const path = require('path'); export default defineNuxtConfig({ modules: [ '@nuxt/ui', '@nuxtjs/color-mode', ], colorMode: { preference: 'light', fallback: 'light', }, plugins: [ '~/plugins/library.ts' ], alias: { '@lib': path.resolve(__dirname, '../TimeOn.Library'), }, css: ['~/assets/scss/global.scss'], components: ['~/components/ui/',], experimental: { watcher: 'chokidar', }, runtimeConfig: { public: { apiUrl: process.env.TIMEON_API_URL, } } }); This is my config .timeon-button { @apply dark:bg-white dark:hover:bg-green-500 #{!important}; } This is in the css file and here i use tailwind classes
Want results from more Discord servers?
Add your server