Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Latest commit

 

History

History
34 lines (24 loc) · 674 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 674 Bytes

webpack-vue

Minimal webpack + VueJS single-file component

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# serve production at localhost:8080 with python 2
python -m SimpleHTTPServer 8080

# serve production at localhost:8080 with python 3
python -m http.server 8080

How has been created

npm install -g vue-cli
vue init webpack-simple webpack-vue
cd webpack-vue
npm install
npm run dev

For detailed explanation on how things work, consult the docs for vue-loader.