fix: use the vite BASE_URL when creating the web history (#11)
This commit is contained in:
parent
7414b382e3
commit
188b49ec76
@ -9,7 +9,7 @@ import 'uno.css'
|
||||
|
||||
const app = createApp(App)
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
routes,
|
||||
})
|
||||
app.use(router)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user