You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2021/10/21 08:59:11 UTC
[incubator-linkis-website] 06/43: FIX ROUTER
This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
commit fac6d066d28e07e8cab54cdc0bc479d2cf753124
Author: lucaszhu <lu...@webank.com>
AuthorDate: Wed Sep 29 16:50:05 2021 +0800
FIX ROUTER
---
src/router.js | 41 +++++++++++++++++++++++++++++------------
1 file changed, 29 insertions(+), 12 deletions(-)
diff --git a/src/router.js b/src/router.js
index d7f0ae9..db94704 100644
--- a/src/router.js
+++ b/src/router.js
@@ -1,16 +1,33 @@
-const routes = [
- {
+const routes = [{
path: '/',
- component: () => import(/* webpackChunkName: "group-app" */ './app.vue'),
- children: [
- { path: '', name: 'home', component: () => import(/* webpackChunkName: "group-home" */ './pages/home.vue') },
- { path: 'docs', name: 'docs', component: () => import(/* webpackChunkName: "group-docs" */ './pages/docs.vue') },
- { path: 'faq', name: 'faq', component: () => import(/* webpackChunkName: "group-faq" */ './pages/faq.vue') },
- { path: 'download', name: 'download', component: () => import(/* webpackChunkName: "group-download" */ './pages/download.vue') },
- { path: 'blog', name: 'blog', component: () => import(/* webpackChunkName: "group-blog" */ './pages/blog.vue') },
- { path: 'team', name: 'team', component: () => import(/* webpackChunkName: "group-team" */ './pages/team.vue') },
- ]
- }
+ name: 'home',
+ component: () => import( /* webpackChunkName: "group-home" */ './pages/home.vue')
+ },
+ {
+ path: '/docs',
+ name: 'docs',
+ component: () => import( /* webpackChunkName: "group-docs" */ './pages/docs.vue')
+ },
+ {
+ path: '/faq',
+ name: 'faq',
+ component: () => import( /* webpackChunkName: "group-faq" */ './pages/faq.vue')
+ },
+ {
+ path: '/download',
+ name: 'download',
+ component: () => import( /* webpackChunkName: "group-download" */ './pages/download.vue')
+ },
+ {
+ path: '/blog',
+ name: 'blog',
+ component: () => import( /* webpackChunkName: "group-blog" */ './pages/blog.vue')
+ },
+ {
+ path: '/team',
+ name: 'team',
+ component: () => import( /* webpackChunkName: "group-team" */ './pages/team.vue')
+ },
]
export default routes;
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org