Answer the question
In order to leave comments, you need to log in
How to use Vue-cli but still make it multi-page?
Hello. Perhaps a little stupid question, but nevertheless .. The task arose to work with Vue not like with SPA. There is an option, of course, to connect it via CDN. But I would still like to use a component approach, and not just write huge logic on each page. Are there any options for such an implementation? Or if not SPA - then suffer through a normal connection like jQuery?
Plus, when building a project, do we get files that cannot be run without a local server? Is it possible to make it so that I can simply collect everything for the backend programmer and give it for further development? So that the project can be opened without a server
Answer the question
In order to leave comments, you need to log in
Plus, when building a project, do we get files that cannot be run without a local server?
Instead <router-link>
use the tag <a>
, you will be reloading between pages.
The first link in Google to the query "vue multipage" gives us a ready-made multipage template that can be used in vue-cli
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question