A Vue demo including Code Splitting, Hot Reloading, ESLint, Vuex, Vue Router and Less.
git clone [email protected]:proYang/vue-parcel-demo.git
cd vue-parcel-demo
npm install
# or
yarn install
npm run dev
# or
yarn dev
the application opened http://127.0.0.1:1234
in the browser default.
npm run build
# or
yarn build
the default output directory is /dist
. You can change the destination in package.json
.
npm run lint
# or
yarn lint
Linting your code by ESLint.
Edit .eslintrc.js
file to configure rules.
See:
If you want to use other configs( port, public-url, out-dir... ), see the Parcel official documentation or submit the Issue.