Skip to content

Commit

Permalink
fix: 🔨 home page route order
Browse files Browse the repository at this point in the history
  • Loading branch information
marcodarko committed Jul 2, 2024
1 parent d97e35c commit 7c14b87
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions web-app/src/router/routes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import axios from 'axios';
import Home from '../views/Home.vue'

function getSmartAPI_IDs() {
axios.create({
Expand All @@ -17,11 +18,6 @@ function getSmartAPI_IDs() {
}

export const routes = [
{
path: '/',
name: 'Home',
component: () => import(/* webpackChunkName: "about" */ '../views/Home.vue')
},
{
path: '/about',
name: 'About',
Expand Down Expand Up @@ -67,7 +63,7 @@ export const routes = [
},
{
path: '/portal',
name: 'Home',
name: 'PHome',
children: [
{
path: '',
Expand Down Expand Up @@ -190,6 +186,11 @@ export const routes = [
}
}
},
{
path: '/',
name: 'Home',
component: Home
},
{
path: '/:catchAll(.*)',
name: '404',
Expand Down

0 comments on commit 7c14b87

Please sign in to comment.