修改配置

main
unknown 2024-05-09 11:29:41 +08:00
parent 51f70f7eb5
commit 8411b5076a
3 changed files with 1234 additions and 1046 deletions

View File

@ -1,4 +1,4 @@
import { createRouter, createWebHistory } from 'vue-router'
import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router'
const routes = [
{
@ -10,7 +10,7 @@ const routes = [
]
const router = createRouter({
history: createWebHistory(),
history: createWebHashHistory(),
routes
})

View File

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

2273
yarn.lock

File diff suppressed because it is too large Load Diff