homebox/frontend/nuxt.config.ts

21 lines
486 B
TypeScript
Raw Normal View History

2022-09-01 22:32:03 +00:00
import { defineNuxtConfig } from 'nuxt';
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
2022-09-04 02:42:03 +00:00
target: 'static',
2022-09-01 22:32:03 +00:00
ssr: false,
modules: ['@nuxtjs/tailwindcss', '@pinia/nuxt', '@vueuse/nuxt'],
2022-09-03 09:17:57 +00:00
meta: {
title: 'Homebox',
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.svg' }],
},
2022-09-04 02:42:03 +00:00
outDir: '../backend/app/api/public',
2022-09-01 22:32:03 +00:00
vite: {
server: {
proxy: {
'/api': 'http://localhost:7745',
},
},
},
});