T
T
TheRevan2019-03-04 14:21:58
Vue.js
TheRevan, 2019-03-04 14:21:58

How to make all routes dynamic in vue?

The entire backend is pulled from the admin panel, and pages like the main one, services, etc. must be at a specific url, which can change from the backend. how to implement this? (something like a menu in wordpress)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nvdfxx, 2019-03-04
@nvdfxx

In the main file, in the created/mounted hook, an asynchronous function that pulls out a list of routes to display in the menu, which is fed to the store, and from there to the viewer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question