24 lines
573 B
TypeScript
24 lines
573 B
TypeScript
export default defineNuxtConfig({
|
|
modules: ['@nuxt/ui'],
|
|
devServer: {
|
|
host: '127.0.0.1',
|
|
port: 3000,
|
|
},
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: true },
|
|
css: ['~/assets/styles/main.scss'],
|
|
ui: {
|
|
theme: {
|
|
colors: ['primary', 'secondary', 'success', 'info', 'warning', 'error', 'indigo', 'sky', 'green', 'amber', 'red', 'cyan', 'pink', 'blue'],
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: process.env.NUXT_PUBLIC_API_BASE ?? 'http://localhost:3001/api',
|
|
},
|
|
},
|
|
colorMode: {
|
|
preference: 'dark',
|
|
},
|
|
});
|