This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import App from '../App.vue';
|
||||
import HomeView from '../pages/HomeView.vue';
|
||||
import SuggestionView from '../pages/SuggestionView.vue';
|
||||
|
||||
const routes = [
|
||||
{ path: '/',
|
||||
children:
|
||||
[
|
||||
{ path: '', component: HomeView },
|
||||
{ path: '/suggestion', component: SuggestionView },
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user