R
R
Ruslan Shaficof2020-10-26 15:01:20
Vue.js
Ruslan Shaficof, 2020-10-26 15:01:20

How to create SPA architecture on Vue without Vue-cli?

I have the following task: creating a SPA using a single vue script (40kb file), without using the package builder, cli, any add-ons and dependencies, etc.
I tried to make a component but fails to make a normal architecture without babel. It is not clear how to transfer props and make sure that the content (and there are 8 pages of the page.html type) is on a single page according to the framework principle.

I also thought that it would be easier to make pure js, push all .html into one file, without vue (this is also possible).

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Korotenko, 2020-10-26
@firedragon

Go to the vue website and see how they did it

A
Alex, 2020-10-26
@Kozack Vue.js

Literally Getting Started from the documentation

S
Sanes, 2020-10-26
@Sanes

Do it humanely. with components. No matter how painful it was at the initial stage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question