E
E
Evdokim2019-10-06 15:32:53
WordPress
Evdokim, 2019-10-06 15:32:53

Should you make regular multi-page sites using Vue?

There was a need to develop a regular WordPress site. Approximately 7 pages. Should some pages of such a site be made using Vue.js ? For example, a page with a cost calculator and a feedback form ?
Or is it worth making the whole site as a SPA on Vue? Then how will it be possible to edit content in the WordPress admin panel? And will there be problems with indexing and SEO?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
skrimafonolog, 2019-10-06
@skrimafonolog

Understand the meaning - Vue for complex dynamic interfaces.
If your site is such that you need complex dynamic interfaces on many different pages, then it's worth it.
IMHO, even the shopping cart of an online store (where there are many pages with a product) is overkill on Vue.
Without a response on the server - the point in Vue is reduced.

I
Igor Vorotnev, 2019-10-06
@HeadOnFire

Not worth it. But if you want - the main thing is to make sure that Vue is loaded only on the page / pages where it is actually used, and not on everyone in a row. Who knows, maybe you have a feedback form there - it's a multi-step form with a bunch of fields and a lot of interactivity, saving progress, etc. - then the point of using Vue can be justified, at least partially. But from the phrase "feedback form" we seem to suspect that there are a couple of simple fields and no reactivity, Vue will still be a cannon on sparrows.

A
Alexey, 2019-10-07
@abcde1

And I would say it's worth it. WordPress can be used as a pure backend, it already has a built-in rest api through which you can do almost anything with WordPress entities. The front can be made as a full-fledged vue application. Yes, it can all take a little longer than stupidly making pages on vp with jquery, but it's an awesome experience and at a distance, if the site develops, it's advantageous.

A
Alex, 2019-10-07
@Kozack

I don't think it's worth it. The reality is that vp and all plugins use jQuery. And even if you don’t use any plugins today, in the future, sooner or later, you will most likely have to. Each plugin comes with its own dependencies.
And in order not to inflate the size of the pages, it is important to use the same dependent scripts.
Using Vue globally for all pages is not justified. Only for some complex, dynamic form

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question