Skip to content

cycjimmy/vue-webpack-starter

Repository files navigation

Vue Webpack Starter

libraries dependency status Release date vue webpack semantic-release

  • A webpack starter for vue building. Demo

Features

Installation

$ npm install
# or
$ yarn install

Main directory structure

vue-webpack-starter
 │
 ├─app/                        # Project entry folder
 │   └─...
 ├─mock/                       # Mock data entry folder
 │   └─api/
 ├─static/                     # Static folder
 │   ├─images/                 # Pictures folder
 │   ├─view/                   # Static html template folder
 │   │   └──...
 │   └─favicon.ico             # Icon file
 ├─webpack/                    # Webpack configuration folder
 │   ├─browserSync.config.js   # BrowserSync config file
 │   ├─postcss.config.js       # Postcss config file
 │   └─...                     # Webpack configuration files
 └─...

Main Tasks

# Run in development
$ npm start

# Build for production
$ npm run build
# or
$ npm run build:watch