Added sidebar (#224)
Co-authored-by: widlam <mikolaj.widla@gmail.com> Reviewed-on: #224 Reviewed-by: Adam Bem <bema@noreply.example.com> Co-authored-by: Mikolaj Widla <widlam@noreply.example.com> Co-committed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
|
||||
const landingPage = import("@views/LandingView.vue")
|
||||
const xmlTool = import("@views/XmlToolView.vue")
|
||||
const restMock = import("@views/RestMockView.vue")
|
||||
const formatter = import("@views/FormatterView.vue")
|
||||
|
||||
const xsltTool = import("@views/XSLTView.vue")
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
@@ -12,18 +13,23 @@ const routes = [
|
||||
component: () => landingPage
|
||||
},
|
||||
{
|
||||
path: '/xml',
|
||||
name: 'xmltool',
|
||||
component: () => xmlTool
|
||||
path: '/xml/xslt',
|
||||
name: 'xslt',
|
||||
component: () => xsltTool
|
||||
},
|
||||
{
|
||||
path: '/restmock',
|
||||
name: 'restmock',
|
||||
path: '/xml/xpath',
|
||||
name: 'xpath',
|
||||
component: () => restMock
|
||||
},
|
||||
{
|
||||
path: '/formatter',
|
||||
name: 'formatter',
|
||||
path: '/xml/xquery',
|
||||
name: 'xquery',
|
||||
component: () => formatter
|
||||
},
|
||||
{
|
||||
path: '/xml/xsd',
|
||||
name: 'xsd',
|
||||
component: () => formatter
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user