Added placholder view for XML formatter

This commit is contained in:
2023-06-19 07:18:33 +02:00
parent f01a8554f1
commit b7386450ae
4 changed files with 35 additions and 10 deletions

View File

@@ -1,10 +0,0 @@
<script setup lang="ts">
</script>
<template>
<h1>Formatter</h1>
</template>
<style scoped></style>

View File

@@ -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>

View File

@@ -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',

View 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>