Fixed sidebar problems (#226)

Co-authored-by: widlam <mikolaj.widla@gmail.com>
Reviewed-on: #226
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 13:07:48 +02:00
committed by Adam Bem
parent 6132a2873a
commit 3ec139c8bd
6 changed files with 9 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
import { ref , onMounted } from 'vue'
import SidebarToolLinkComponent from './SidebarToolLinkComponent.vue';
import SidebarMenuElementComponent from './SidebarMenuElementComponent.vue';

View File

@@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
import { ref } from 'vue'
const hiddenOrActive = ref('hidden');

View File

@@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
import { RouterLink } from 'vue-router';
const props = defineProps(
{

View File

@@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
const props = defineProps(
{

View File

@@ -2,7 +2,6 @@ import { createRouter, createWebHistory } from 'vue-router'
const landingPage = import("@views/LandingView.vue")
const restMock = import("@views/RestMockView.vue")
const formatter = import("@views/FormatterView.vue")
const xsltTool = import("@views/XSLTView.vue")
@@ -22,16 +21,6 @@ const routes = [
name: 'xpath',
component: () => restMock
},
{
path: '/xml/xquery',
name: 'xquery',
component: () => formatter
},
{
path: '/xml/xsd',
name: 'xsd',
component: () => formatter
},
]

5
Frontend/src/shims-svg.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
declare module '*.svg' {
import Vue, {VueConstructor} from 'vue';
const content: VueConstructor<Vue>;
export default content;
}