2022-06-29 09:22:55 +02:00
|
|
|
import { defineNuxtConfig } from 'nuxt';
|
|
|
|
import eslintPlugin from 'vite-plugin-eslint';
|
|
|
|
|
|
|
|
// https://v3.nuxtjs.org/api/configuration/nuxt.config
|
|
|
|
export default defineNuxtConfig({
|
|
|
|
build: {
|
2022-09-03 16:42:54 +02:00
|
|
|
transpile: ['primevue', 'chart.js']
|
2022-06-29 09:22:55 +02:00
|
|
|
},
|
|
|
|
css: [
|
2022-07-20 21:37:41 +02:00
|
|
|
'~~/assets/base.css',
|
2022-06-29 09:22:55 +02:00
|
|
|
'primevue/resources/primevue.min.css',
|
|
|
|
'primevue/resources/themes/arya-green/theme.css',
|
|
|
|
'primeflex/primeflex.min.css',
|
|
|
|
'primeicons/primeicons.css',
|
2022-07-20 21:37:41 +02:00
|
|
|
'@vuepic/vue-datepicker/dist/main.css'
|
2022-06-29 09:22:55 +02:00
|
|
|
],
|
2022-07-01 21:26:40 +02:00
|
|
|
modules: ['@vueuse/nuxt'],
|
2022-06-29 09:22:55 +02:00
|
|
|
vite: {
|
|
|
|
plugins: [eslintPlugin()]
|
|
|
|
}
|
|
|
|
});
|