add about page

This commit is contained in:
MaysWind
2020-10-31 20:37:16 +08:00
parent 8967485c60
commit ad15f99068
7 changed files with 155 additions and 0 deletions
+6
View File
@@ -6,6 +6,7 @@ import MainPageHomeTab from '../views/mobile/main/Home.vue';
import LoginPage from '../views/mobile/Login.vue';
import SignUpPage from '../views/mobile/Signup.vue';
import SettingsPage from '../views/mobile/Settings.vue';
import AboutPage from "../views/mobile/About.vue";
import UserProfilePage from "../views/mobile/users/UserProfile.vue";
import SessionListPage from "../views/mobile/users/SessionList.vue";
@@ -62,6 +63,11 @@ const routes = [
component: SettingsPage,
beforeEnter: checkLogin
},
{
path: '/about',
component: AboutPage,
beforeEnter: checkLogin
},
{
path: '/user/profile',
component: UserProfilePage,