修改打包路径

main
ihzero 2024-05-09 20:53:32 +08:00
parent 13651d490e
commit c666fc707a
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@ import UnoCSS from 'unocss/vite'
import { fileURLToPath, URL } from 'node:url'
// https://vitejs.dev/config/
export default defineConfig({
build:{
assetsDir: 'cockpit/assets',
},
base: '/cockpit/',
plugins: [vue(), UnoCSS()],
server:{
host: '0.0.0.0',