S
S
SvinkaBacilka2020-09-10 09:51:35
Vue.js
SvinkaBacilka, 2020-09-10 09:51:35

How to create a multi-page application from a single-page application on vue.js?

There was a need to create a page with settings, in an existing application, as a separate independent page. Who will prompt the correct and beautiful decision of this problem?
Now I have a single page application with a dynamic header, menu, etc... I would not like to redraw all this, but have a separate page different from #app

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yaroslav Ivanov, 2020-09-12
@SvinkaBacilka

Vue router layout
https://si-dev.com/en/blog/vue-multiple-layouts

A
Aetae, 2020-09-10
@Aetae

If you are using vue-cli: pages . Separate entry-points to separate pages with a common codebase.

R
Razgelday, 2020-09-11
@Razgelday

Canonical solution - Vue Router - https://router.vuejs.org/en/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question