29 lines
613 B
TypeScript
29 lines
613 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
css: ['~/assets/css/main.css'],
|
|
runtimeConfig: {
|
|
public: {
|
|
s3AccessKey: 'devkey',
|
|
s3SecretKey: 'devsecret',
|
|
},
|
|
},
|
|
vite: {
|
|
plugins: [
|
|
tailwindcss(),
|
|
],
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8080',
|
|
changeOrigin: true,
|
|
rewrite: (path: string) => path.replace(/^\/api/, ''),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|