30 lines
582 B
TypeScript
30 lines
582 B
TypeScript
export default defineNuxtConfig({
|
|
ssr: false,
|
|
devtools: { enabled: false },
|
|
modules: [
|
|
'@pinia/nuxt',
|
|
'@nuxtjs/tailwindcss',
|
|
'@primevue/nuxt-module',
|
|
],
|
|
css: ['~/assets/css/main.css'],
|
|
primevue: {
|
|
options: {
|
|
theme: 'none',
|
|
},
|
|
},
|
|
runtimeConfig: {
|
|
public: {
|
|
apiBase: process.env.API_BASE || 'http://localhost:3000',
|
|
},
|
|
},
|
|
devServer: {
|
|
port: 3001,
|
|
},
|
|
nitro: {
|
|
devProxy: {
|
|
'/api': { target: 'http://localhost:3000/api', ws: true },
|
|
'/ws': { target: 'ws://localhost:3000/ws', ws: true },
|
|
},
|
|
},
|
|
})
|