M
M
Messi2018-08-14 14:46:39
Vue.js
Messi, 2018-08-14 14:46:39

How to download the required component?

Hello! With vue experience 0, but there is an urgent task, who can, please tell me:
Installed vue using webpack. In app.vue , added the getEquipment method (which receives the type) to method .
Added getEquipment call to mounted. Everything is working.
Now I added two components to the components folder (names for example), car.vue, bus.vue and imported them into app.vue.
Depending on the type that comes in getEquipment , I need to make friends with another component. For example, the type car came
from getEquipment , so I need to load the car.vue component . How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-08-14
@FitTech

:is ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question