mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.2 KiB
TypeScript
59 lines
1.2 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
devtools: { enabled: true },
|
|
|
|
css: [
|
|
'~/assets/css/app.scss',
|
|
'~/assets/css/tailwind.css',
|
|
],
|
|
postcss: {
|
|
plugins: {
|
|
tailwindcss: {},
|
|
autoprefixer: {},
|
|
},
|
|
},
|
|
|
|
ssr: false,
|
|
|
|
nitro: {
|
|
devProxy: {
|
|
"/api": {
|
|
target: "http://localhost:4000/api",
|
|
changeOrigin: true,
|
|
ws: true,
|
|
},
|
|
'/fs': {
|
|
target: 'http://localhost:4000/fs',
|
|
changeOrigin: true,
|
|
ws: true,
|
|
},
|
|
'/media': {
|
|
target: 'http://localhost:4000/media',
|
|
changeOrigin: true,
|
|
ws: true,
|
|
},
|
|
},
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
meta: [
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ name: 'keywords', content: 'veypi, oneauth' }
|
|
],
|
|
title: 'OneAuth',
|
|
noscript: [
|
|
{ children: 'JavaScript is required' }
|
|
],
|
|
link: [
|
|
{ rel: 'icon', type: 'image/ico', href: 'favicon.ico' }
|
|
],
|
|
script: [
|
|
{ src: '/icon.js' },
|
|
]
|
|
},
|
|
},
|
|
modules: ["@pinia/nuxt"],
|
|
compatibilityDate: '2024-10-16'
|
|
})
|