2 Replies
do you reference the file somewhere?
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