This is for learn vue2
Developement
Run the npm run dev
to start the server, and then visit http://localhost:8080
example-html
Just open related html in browser to see what happen. and open html file in editor to see the code.
example-webpack
Use webpack 4.16.0
npm run dev
to run server under each subdirectory. And then visit http://localhost:8080.
Build for Production
Run the npm run build
to build the project. And then cd build
.
Run the server with http-server -p 8080
or python -m SimpleHTTPServer 8080
to start the server.
And then visit http://localhost:8080
Recommendation
git checkout to the first commit, and then second commit .....