Ralph
Tailwind CSS error
// 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,
}
}
});
7 replies