A Vue demo including Code Splitting, Hot Reloading, ESLint, Vuex, Vue Router, Pug, Stylus and Livescript. Forked from vue-parcel-demo.
git clone [email protected]:popkinj/vue-parcel-ls.git
cd vue-parcel-ls
npm i
npm start
The application will open at http://127.0.0.1:1234
in the browser by default.
Transpiled code for pug, stylus and livescript is only located in App.vue and Home.vue. The rest defaults to CSS, HTML and ES6.
npm run build
The default output directory is /dist
. You can change the destination in package.json
.
npm run 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.