Move all pages and components for Profile together. Update router accordingly
This commit is contained in:
@@ -13,8 +13,8 @@ import Join from '../views/main/Join.vue'
|
||||
import Register from '../views/main/Register.vue'
|
||||
import Home from '../views/main/Home.vue'
|
||||
import Wallet from '../views/main/Wallet.vue'
|
||||
import Profile from '../views/main/Profile.vue'
|
||||
import CreatorList from '../views/creators/CreatorList.vue'
|
||||
import ProfilePage from '@/views/profile/ProfilePage.vue'
|
||||
import CreatorList from '@/views/creators/CreatorList.vue'
|
||||
import CreatorPage from "@/views/creators/CreatorPage.vue";
|
||||
import ContentPage from "@/views/contents/ContentPage.vue";
|
||||
import PostContent from "@/views/contents/PostContent.vue";
|
||||
@@ -39,10 +39,6 @@ const routes = [
|
||||
path: '/@:creator',
|
||||
component: CreatorPage
|
||||
},
|
||||
{
|
||||
path: '/creators/@:creator',
|
||||
component: Profile
|
||||
},
|
||||
{
|
||||
path: '/content/post',
|
||||
component: PostContent,
|
||||
@@ -125,7 +121,7 @@ const routes = [
|
||||
{
|
||||
path: '/profile',
|
||||
name: 'profile',
|
||||
component: Profile,
|
||||
component: ProfilePage,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user