diff --git a/package.json b/package.json index ed424da..9cf1150 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "rollup-plugin-visualizer": "^5.9.2", "sass": "^1.63.6", "tailwindcss": "^3.3.3", + "terser": "^5.39.0", "typescript": "~5.0.4", "unplugin-vue-components": "^0.26.0", "vite": "^4.5.2", diff --git a/src/router/index.ts b/src/router/index.ts index dce525c..db2bb0a 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,14 +7,12 @@ import dashboardRouter from './config/dashboard'; import noticeRouter from './config/notice'; import accountRouter from './config/account'; import errorRouter from './config/error'; -import onLineEditor from './config/editor'; export { injectRouter } from './interceptor'; export const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ - ...onLineEditor, ...homeRouter, ...accountRouter, ...dashboardRouter, diff --git a/src/views/Dashboard/Issue/index.vue b/src/views/Dashboard/Issue/index.vue index 0aba375..6b13890 100644 --- a/src/views/Dashboard/Issue/index.vue +++ b/src/views/Dashboard/Issue/index.vue @@ -8,7 +8,6 @@