homebox/frontend/nuxt.config.ts
2022-09-03 18:42:03 -08:00

20 lines
486 B
TypeScript

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