Add files via upload

This commit is contained in:
Pony
2025-06-20 18:50:05 +08:00
committed by GitHub
parent e62e1c9ace
commit f12c174d8a
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import { createRouter, createWebHistory } from 'vue-router'
import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'
import Dashboard from '../views/Dashboard.vue'
import HomePage from '../views/HomePage.vue'
import PromptsLibrary from '../views/PromptsLibrary.vue'
@@ -87,10 +87,10 @@ const routes = [
}
]
}
]
]
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
history: createWebHashHistory(),
routes
})
+1
View File
@@ -6,6 +6,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
import { resolve } from 'path'
export default defineConfig({
base: './',
plugins: [
vue(),
AutoImport({