Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 908 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 908 Bytes

vue-mobile-boilerplate

This repo is a boilerplate for vue-mobile project. You could use it as a base to build your own web app.

Features

  • Equip with Vue, ES6 & Babel 6.
  • Lint with ESlint and Airbnb's style sheet.
  • Build with Webpack 2 (support Webpack 2 & Webpack 3).
  • Support hot module replacement
  • Auto Open a new browser tab when Webpack loads, and reload the page when you modified the code.
  • Support auto px2rem (Default off).
  • Support Postcss

How to use

First, clone the repo.

git clone https://github.com/luckyyyyy/vue-example.git <yourAppName>
cd <yourAppName>

# Second, delete the old .git history and initialize new history.
rm -rf .git
git init

# If you are in China, please modify the npm registry
npm config set registry https://registry.npm.taobao.org

# Third, install the dependencies.
npm install

# Then, launch the boilerplate app.
npm run dev