修改打包路径
parent
13651d490e
commit
c666fc707a
|
|
@ -4,9 +4,7 @@ import UnoCSS from 'unocss/vite'
|
||||||
import { fileURLToPath, URL } from 'node:url'
|
import { fileURLToPath, URL } from 'node:url'
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
build:{
|
base: '/cockpit/',
|
||||||
assetsDir: 'cockpit/assets',
|
|
||||||
},
|
|
||||||
plugins: [vue(), UnoCSS()],
|
plugins: [vue(), UnoCSS()],
|
||||||
server:{
|
server:{
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue