diff --git a/vue/src/components/StyledLink.vue b/vue/src/components/StyledLink.vue new file mode 100644 index 0000000..11831cd --- /dev/null +++ b/vue/src/components/StyledLink.vue @@ -0,0 +1,16 @@ + + + diff --git a/vue/src/main.js b/vue/src/main.js index 948895e..0417c64 100644 --- a/vue/src/main.js +++ b/vue/src/main.js @@ -24,7 +24,7 @@ const routes = [ path: '/user', component: UserView, children: [ - { path: '', name: 'user', component: UserHome }, + { path: 'settings', name: 'user', component: UserHome }, { path: 'invoices', name: 'invoices', component: UserInvoices } ] }, diff --git a/vue/src/views/UserView.vue b/vue/src/views/UserView.vue index 2521a67..d38593f 100644 --- a/vue/src/views/UserView.vue +++ b/vue/src/views/UserView.vue @@ -11,8 +11,8 @@
@@ -20,6 +20,10 @@ + +