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:
2023-06-15 11:36:45 +02:00
committed by Adam Bem
parent e4549c7baf
commit 6132a2873a
19 changed files with 313 additions and 44 deletions

View File

@@ -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
},
]