From df2bfb6ac79a7d6181a4bd78034afd9dcc8c4f00 Mon Sep 17 00:00:00 2001 From: q Date: Thu, 10 Jul 2025 19:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9E=84=E5=BB=BA=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven.yml | 2 +- web-front/src/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f88996c..0dd120b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -51,7 +51,7 @@ jobs: cache: maven - name: Build Frontend - run: cd web-front && yarn install && yarn run build + run: cd web-front && npm install && npm run build - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/web-front/src/main.js b/web-front/src/main.js index 0c1ea4d..f970a39 100644 --- a/web-front/src/main.js +++ b/web-front/src/main.js @@ -9,7 +9,7 @@ import 'element-plus/dist/index.css' import 'element-plus/theme-chalk/dark/css-vars.css' import "vue3-json-viewer/dist/index.css"; import './styles/dark/css-vars.css' -import router from './router' +import router from './router/index.js' const app = Vue.createApp(App) app.use(router)