[Vuejs]-How do i show content in this vue example?

2👍

I think you are misunderstanding the idea of Vue instances…

In you example you have:

  1. a JSON foo that I think it is a component,

  2. An App instance, which is mounted to the #app element

  3. Another instance called notification_view with the same router, what I think is is another component

  4. Another tbl instance, that I think it is another component

You actually need one instance and a bunch of components as in this example:

https://jsfiddle.net/dcr3jyzo/

Leave a comment