修正模块router中没有正确导入vue-router导致页面不能正常加载的问题。
This commit is contained in:
parent
a37a40d1cd
commit
ac7272d59a
@ -3,6 +3,7 @@ import Register from '../views/authentication/Register.vue';
|
|||||||
import ManageProfile from '../views/authentication/ManageProfile.vue';
|
import ManageProfile from '../views/authentication/ManageProfile.vue';
|
||||||
import Profile from '../views/authentication/Profile.vue';
|
import Profile from '../views/authentication/Profile.vue';
|
||||||
import store from '../store';
|
import store from '../store';
|
||||||
|
import {createRouter, createWebHistory} from "vue-router";
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
{ path: '/login', component: Login },
|
{ path: '/login', component: Login },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user