functioning checkboxes and doesnt filter yet
This commit is contained in:
+31
-8
@@ -1,8 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<p>
|
<p>
|
||||||
<!-- use the router-link component for navigation. -->
|
|
||||||
<!-- specify the link by passing the `to` prop. -->
|
|
||||||
<!-- `<router-link>` will render an `<a>` tag with the correct `href` attribute -->
|
|
||||||
<router-link class="rlink" to="/PrimarySymbol">Primary Symbols</router-link>
|
<router-link class="rlink" to="/PrimarySymbol">Primary Symbols</router-link>
|
||||||
|
|
|
|
||||||
<router-link class="rlink" to="/">tf</router-link>
|
<router-link class="rlink" to="/">tf</router-link>
|
||||||
@@ -12,10 +9,33 @@
|
|||||||
<Navbar />
|
<Navbar />
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
|
<input
|
||||||
<!-- route outlet -->
|
v-model="tutorials"
|
||||||
<!-- component matched by the route will render here -->
|
type="checkbox"
|
||||||
|
value="Video"
|
||||||
|
name="video"/>
|
||||||
|
<label for="video">Video</label>
|
||||||
|
<input v-model="tutorials"
|
||||||
|
type="checkbox"
|
||||||
|
value="Text"
|
||||||
|
name="text" />
|
||||||
|
<label for="text">Text</label>
|
||||||
|
<input
|
||||||
|
v-model="tutorials"
|
||||||
|
type="checkbox"
|
||||||
|
value="Examples"
|
||||||
|
name="examples"/>
|
||||||
|
<label for="examples">Examples</label>
|
||||||
|
<input
|
||||||
|
v-model="tutorials"
|
||||||
|
type="checkbox"
|
||||||
|
value="QnA"
|
||||||
|
name="qna"/>
|
||||||
|
<label for="qna">QnA</label>
|
||||||
|
<p>Tutorials: {{ tutorials }}</p>
|
||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -25,9 +45,12 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
Navbar
|
Navbar
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tutorials: [],
|
||||||
|
}
|
||||||
|
},
|
||||||
};
|
};
|
||||||
// This starter template is using Vue 3 <script setup> SFCs
|
|
||||||
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user