F
F
Fedot Krusenstern2019-09-20 10:37:19
JavaScript
Fedot Krusenstern, 2019-09-20 10:37:19

Is it possible to implement named view routing Vue by variable in url?

The project needs to implement modal windows. Each modal window must have its own route.
Example: "/users/list?modal=1233"
The problem is that I need to open modal windows through named route-views and I can't do it.
Those. when I click on the link "/users/list?modal=1233" in my main view, the users/list component opens, and in the named view - modal.
These modal windows can open completely on any page of the application, for example: "/users?modal=1233", "/products/category?modal=1233", "/?modal=1233"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question