A
A
Andrew2020-08-28 09:57:04
Vue.js
Andrew, 2020-08-28 09:57:04

How to collect statics from a project made on Vue.js?

There is a site made up on vue.js from which you need to get simple statics, without vue.
Maybe there is some kind of collector or some commands for webpack to get the usual statics?
You need to pull the project on bitrix, but in the form that vue.js gives out, it will be problematic to pull it, and then maintain and develop the site.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-08-28
@firedragon

Look in the documentation for ssr and pretender. At the output you will have only hyml. But why not embed vue into the page and let Bitrix give only data

V
VegasChickiChicki, 2020-08-28
@VegasChickiChicki

If I understand correctly, based on the fact that you have nuxt , you need to generate statics, which nuxt.js has out of the box:
https://ru.nuxtjs.org/guide/commands/
https://medium.com/a -man-with-no-server/static-sit...
ps - This command will do statics, but the miracle will not happen. For in order to pull the layout on Bitrix, you will need to manually run through all the components and clean (rewrite) the vue scripts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question