Z
Z
zavod222019-02-27 15:23:45
Web development
zavod22, 2019-02-27 15:23:45

How to host a vue.js project?

Good day to all. I'm new to Web development, so please don't judge my question too harshly.
I made the layout, added vue.js to it, uploaded the work to the hosting (000webhost.com). Apparently the hosting does not accept the vue.js file and incorrectly displays elements related to vue. Please tell me how to fix this?
(Earlier posted the same layout without vue on pure js and everything worked fine)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ianbrode, 2019-02-28
@ianbrode

And how did the project generate? If vue-cli then run npm run build and then host the contents of the dist folder.

A
Alexey Bespalov, 2019-03-02
@FreeArcher

Do you need node.js hosting or is it not important?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question