DEV Community

Discussion on: 😲VueJS pages with Dynamic layouts! Problems and a solution!

Collapse
 
safiullahsarhandi profile image
safiullahsarhandi

I think the simplest way to declare dynamic layout is in vue-router. Did you tested it? I always prefer to use children key of vue router to evaluate layouts for different dynamic pages

Collapse
 
lampewebdev profile image
Michael "lampe" Lazarski

Nope I did not test it.

I'm just not the biggest fan of the notation.

It should be fine.

Collapse
 
safiullahsarhandi profile image
safiullahsarhandi

You would love it.