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)