diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index 77228eb5..db429615 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -11,6 +11,7 @@ Trade + Dashboard About diff --git a/src/router/index.ts b/src/router/index.ts index 1cfc9a48..f3382528 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -24,6 +24,14 @@ const routes: Array = [ // which is lazy-loaded when the route is visited. component: () => import(/* webpackChunkName: "about" */ '@/views/Trading.vue'), }, + { + path: '/dashboard', + name: 'Freqtrade Dashboard', + // route level code-splitting + // this generates a separate chunk (about.[hash].js) for this route + // which is lazy-loaded when the route is visited. + component: () => import(/* webpackChunkName: "about" */ '@/views/Dashboard.vue'), + }, { path: '/about', name: 'About', diff --git a/src/views/Dashboard.vue b/src/views/Dashboard.vue new file mode 100644 index 00000000..31c3baa9 --- /dev/null +++ b/src/views/Dashboard.vue @@ -0,0 +1,41 @@ + + + + +