guAnsunyata / vue-nested-menu

A simple hands-on mobile nested menu UI component with a smooth slide animation
33 stars 11 forks source link

Component was always using the demo data #5

Open askarhu opened 4 years ago

askarhu commented 4 years ago

Not sure how to get this component to use the menu data that I supplied. It seem to always use the demo data, I even tried to remove the reference to demo.js from the App.vue file on the source but it still seem to use the demo data that's shown in the Github page regardless of the data that we supply in our data: section. Any thoughts on how to get this to work with our own data?

guAnsunyata commented 4 years ago

The demo data was removed in vue-nested-menu@1.0.0.

Please make sure giving the correct prop key source to <vue-nested-menu> component

<vue-nested-menu :source="source" />