M
M
mr_blaze2017-07-15 19:04:32
webpack
mr_blaze, 2017-07-15 19:04:32

How does Webpack and Vue.js work?

Hello!
When developing an application on vue.js, I came across vue-cl where I found the webpack-simple template. I ran the npm nsstall and npm run dev commands and that's it! I have a server running on port 3000.
The question arises: how? And is it possible to upload such a project to hosting? If so, which one?
Thanks to all! The question is closed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
regix, 2017-07-15
@mr_blaze

Oh gods, this guy was asking people about Server-rendering the other day. It's good that he took the advice and went to learn the basics)))
This is a dev server designed for development. When you build a project, you can place it anywhere.

A
alvvi, 2017-07-15
@alvvi

The question arises: how?

Webpack-dev-server just gave you a static index.html and bundle.js with all the vue app inside.
Any hosting capable of serving static files will do
. If you want to know how the server works in general, then this is for Webpack and so on. more Vue has a very mediocre attitude.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question