Recursive Side-nav Menu built with Vue.js (part 1)

  Рет қаралды 15,592

Fibre

Fibre

Күн бұрын

Пікірлер
@mannyfay2524
@mannyfay2524 Жыл бұрын
I'm on Vue 3 and it works! Thx for the awesome tutorial :)
@RubenM4690
@RubenM4690 4 ай бұрын
thanks !!!
@nourigadjanibrahim
@nourigadjanibrahim 3 жыл бұрын
Idem for Vue 3 🙏
@akbarhday
@akbarhday Жыл бұрын
Can I use this on vue 3?
@farhanmahim
@farhanmahim 2 жыл бұрын
Hello, I have a question. Where do you put the router links? for the vue router to go to a page?
@CodingFibre
@CodingFibre 2 жыл бұрын
Hi mate, you can replace the spans containing the labels by router links if you want to 😊
@williamhardievbola2367
@williamhardievbola2367 2 жыл бұрын
You can do it like this: {{label}} But what I did is I add a props "route" in MenuItem.vue and add it to the instantiated MenuItem in Menu.vue then use it in router-link. This is useful if the label is different from the route name. **props in menuitem.vue** props: { label: { type: String, required: true }, icon: { type: String, }, depth: { type: Number, required: true }, data: { type: Array, }, route: { type: String, required: true } **Menuitem in Menu.vue ** ** router-link in MenuItem.vue** {{label}} Hope this helps you.
@sun_412
@sun_412 2 жыл бұрын
Thanks for the video, it was very helpful. How do I add a router to that menu?ㅜㅜ
@CodingFibre
@CodingFibre 2 жыл бұрын
Hi there, thanks for your feedback ! For routing, you can replace the spans containing the labels by router links, in pair with vue-router package !
Vuetify 3 + Nuxt 3 : Vue.js Will Never Be The Same
13:02
Program With Erik
Рет қаралды 46 М.
VueJS Dropdown Component | A VueJS Basics Tutorial
16:56
Tyler Potts
Рет қаралды 52 М.
Let's create a filter table component in Vue
30:53
Andrew Schmelyun
Рет қаралды 29 М.
Animated Navbar using CSS, Vue and Vue Router
8:05
Justin Brooks
Рет қаралды 73 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Create a cool sidebar with Vuejs and vue router (fast and easy)
20:13
Animating Vue Router Transitions in Vue 3
12:08
LearnVue
Рет қаралды 53 М.
Are You Following This Vue Best Practice?
2:43
LearnVue
Рет қаралды 84 М.
Vue.js: The Documentary
34:45
Honeypot
Рет қаралды 1,6 МЛН
Animated Responsive Sidenav in Angular | Part 1 | Responsive Sidenav
28:29
Vue 3 Crash Course | Project From Scratch
1:58:46
John Komarnicki
Рет қаралды 104 М.