|
|
@@ -2,7 +2,7 @@ import { createApp } from 'vue'
|
|
|
import App from './App.vue'
|
|
|
import { createPinia } from 'pinia'
|
|
|
import naive from '@/assets/native-plugin'
|
|
|
-import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
|
|
|
+import { createRouter, RouteRecordRaw, createWebHashHistory } from 'vue-router'
|
|
|
import Icon from '@/components/icon.vue'
|
|
|
import 'virtual:svg-icons-register'
|
|
|
import piniaPersist from 'pinia-plugin-persist'
|
|
|
@@ -16,7 +16,7 @@ routes.push({ path: '/:path(.*)', redirect: '/' })
|
|
|
|
|
|
const app = createApp(App)
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(),
|
|
|
+ history: createWebHashHistory(),
|
|
|
routes
|
|
|
})
|
|
|
app.component('Icon', Icon)
|