Implemented basic Vue.js frontend #222

Merged
bema merged 14 commits from bema/func/vue_frontend into master 2023-06-14 11:26:02 +02:00
Showing only changes of commit 5d8a816a3b - Show all commits

View File

@@ -3,7 +3,6 @@ import { ref } from 'vue';
import XmlTool from './components/XmlTool.vue'
const activeToolBox = ref('')
const tools = ref('')
</script>
@@ -14,9 +13,13 @@ const tools = ref('')
<label for="formatter">Formatter</label>
<input v-model="activeToolBox" type="radio" id="formatter" value="formatter" />
<label for="restmock">REST Mock</label>
<input v-model="activeToolBox" type="radio" id="restmock" value="restmock" />
<br><br>
<XmlTool v-if="activeToolBox == 'xml'" />
<h1 v-if="activeToolBox == 'formatter'">Formatter</h1>
<h1 v-if="activeToolBox == 'restmock'">REST Mock</h1>
</template>
<style scoped></style>