Added placholder view for XML formatter
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>Formatter</h1>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -0,0 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex h-full"></div>
|
||||
|
||||
<textarea name="data" id="data" class="text-field"></textarea>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -3,6 +3,8 @@ import { createRouter, createWebHistory } from 'vue-router'
|
||||
const landingPage = import("@views/LandingView.vue")
|
||||
const restMock = import("@views/RestMockView.vue")
|
||||
|
||||
const xmlFormatter = import("@views/XmlFormatterView.vue")
|
||||
|
||||
const xsltTool = import("@views/XSLTView.vue")
|
||||
const xsdTool = import("@views/XSDView.vue")
|
||||
const xpathTool = import("@views/XPathView.vue")
|
||||
@@ -14,6 +16,11 @@ const routes = [
|
||||
name: 'landing',
|
||||
component: () => landingPage
|
||||
},
|
||||
{
|
||||
path: '/format/xml',
|
||||
name: 'xmlFormatter',
|
||||
component: () => xmlFormatter
|
||||
},
|
||||
{
|
||||
path: '/xml/xpath',
|
||||
name: 'xpath',
|
||||
|
||||
16
Frontend/src/views/XmlFormatterView.vue
Normal file
16
Frontend/src/views/XmlFormatterView.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import InputFormatterComponent from '@/components/formatter/InputFormatterComponent.vue';
|
||||
import xmlOutputFieldComponent from '@/components/xml/XmlOutputFieldComponent.vue';
|
||||
import { ref } from 'vue';
|
||||
|
||||
|
||||
const xml = ref('');
|
||||
const query = ref('');
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div id="layout" class="flex flex-col lg:flex-row w-full h-full gap-4">
|
||||
<InputFormatterComponent></InputFormatterComponent>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user