Browse Source

高知修改版本后缀名

plg 1 week ago
parent
commit
3d5fe351c0
2 changed files with 4 additions and 2 deletions
  1. 3 1
      src/router/index.ts
  2. 1 1
      vite.config.ts

+ 3 - 1
src/router/index.ts

@@ -131,7 +131,9 @@ const routes = [
   }
 ]
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  // history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHistory("/highLevelIntellectual/"),
+  //highLevelIntellectual
   // history: createWebHistory('/pc/'),
   routes
 })

+ 1 - 1
vite.config.ts

@@ -6,7 +6,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  // base: '/pc/',
+  base: '/highLevelIntellectual/',
   css: {
     preprocessorOptions: {
       scss: {