Answer the question
In order to leave comments, you need to log in
How to put vue.js component without node.js?
Hello masters
Please tell me how you can, without node.js, install (embed in html) vue components, for example, emoticons - https://github.com/jm-david/emoji-mart-vue
Now, as far as I understand, you need to download the component itself via npm, and write a backend on node.js?
Is it possible to just connect the component via ? I just would like the finished project to work on all shared hostings in the future, and I would not have to rent a server.
And if this is not possible, then please tell us, point your finger at the resource (articles, videos) where php + node.js integration is shown?
I will be very grateful for the answers
Answer the question
In order to leave comments, you need to log in
The front is developed on your computer with nodejs, after compilation you upload it to the hosting. There is essentially 1 html file and scripts with styles.
So nodejs is needed only at the development stage.
1) to use components, it is absolutely not necessary to use node.js
How is the server and emoticons connected here?
2) If you don't want to install vue-cli like normal people, then you can just download these additional components and install them in the usual
way. These are not some magic files, but completely ordinary vue-components
3) php + node.js - me of course, such a programmer, but this is just some kind of tin)
In general, read about vue-cli and you will be happy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question