Framework7 vue, dynamically create new views


#1

Hi, i am trying to find out a way to add new views dynamically.
I use tab views an have tried to append a new tab an then create the new view. So far so good the view is created and registered in f7.views, but when i try to navigate a page in that view it does not work.
The newly created view’s history contains only “/” and the routing does not work. I dont get any errors.


#2

I dont know if this is possible.
can you share some code?


#3

You should do it in Vue way, e.g. using v-if and v-for in main template to add f7-view based on required condition


#4

Yeap, it worked like a charm.
Thank you!