Parcel Vue Demo

September 3, 2018 ยท View on GitHub

A Vue demo including Code Splitting, Hot Reloading, ESLint, Vuex, Vue Router and Less.

:fire: Get Started

git clone git@github.com:proYang/vue-parcel-demo.git
cd vue-parcel-demo
npm install
# or
yarn install

:building_construction: Development

npm run dev
# or
yarn dev

the application opened http://127.0.0.1:1234 in the browser default.

:rocket: Build

npm run build
# or
yarn build

the default output directory is /dist. You can change the destination in package.json.

:bento: Code Linting

npm run lint
# or
yarn lint

Linting your code by ESLint.

Edit .eslintrc.js file to configure rules. See:

:package: Other Config

If you want to use other configs( port, public-url, out-dir... ), see the Parcel official documentation or submit the Issue.