@@ -11,7 +11,8 @@ import ChangelogDetailView from '../views/ChangelogDetailView.vue'
1111import ConsoleLayout from '../layouts/ConsoleLayout.vue'
1212import ConsoleDashboardView from '../views/ConsoleDashboardView.vue'
1313import ConsoleProfileView from '../views/ConsoleProfileView.vue'
14- import ConsoleArticlesView from '../views/ConsoleArticlesView.vue'
14+ import ConsoleArticleManageView from '../views/ConsoleArticleManageView.vue'
15+ import ConsoleArticleComposeView from '../views/ConsoleArticleComposeView.vue'
1516import ConsoleChangelogView from '../views/ConsoleChangelogView.vue'
1617import ConsoleAttachmentsView from '../views/ConsoleAttachmentsView.vue'
1718import ConsoleCommentsView from '../views/ConsoleCommentsView.vue'
@@ -39,7 +40,9 @@ const routes = [
3940 children : [
4041 { path : '' , name : 'consoleDashboard' , component : ConsoleDashboardView } ,
4142 { path : 'profile' , name : 'consoleProfile' , component : ConsoleProfileView } ,
42- { path : 'articles' , name : 'consoleArticles' , component : ConsoleArticlesView } ,
43+ { path : 'articles' , redirect : '/console/articles/manage' } ,
44+ { path : 'articles/manage' , name : 'consoleArticleManage' , component : ConsoleArticleManageView } ,
45+ { path : 'articles/new' , name : 'consoleArticleCompose' , component : ConsoleArticleComposeView } ,
4346 { path : 'changelog' , name : 'consoleChangelog' , component : ConsoleChangelogView } ,
4447 { path : 'attachments' , name : 'consoleAttachments' , component : ConsoleAttachmentsView } ,
4548 { path : 'comments' , name : 'consoleComments' , component : ConsoleCommentsView } ,
0 commit comments