R
R
RuslanSer2021-05-06 17:10:14
JavaScript
RuslanSer, 2021-05-06 17:10:14

How to organize a separate router-view for different sections of the site in vue?

In general, the structure is as follows.
There are only 2 sections of the site:
1) Form (link "/")
A form is just a page where a form is filled out.
There is nothing else on it.
2) Admin panel (link "/admin/*")
Admin panel consists of:

  • menu
  • toolbar
  • working area


The menu components and the toolbar in the admin area are common to all pages. At the same time, the workspace on different pages is, accordingly, another page (component), i.e. this is the router-view component.

How can I separate the form from the admin in vue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RuslanSer, 2021-05-06
@RuslanSer

After an eternity, it turned out to be done according to the documentation:
tyts
tyts tyts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question