Implemented basic Vue.js frontend #222
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user