A minimum viable Vuejs app with Parcel Bundler.
Clone and install deps
git clone git@github.com:rohitkrai03/vue-parcel-example.git
cd vue-parcel-example
yarn
yarn dev
Then open http://localhost:1234
and edit index.js
and press save. Parcel will automagically hot reload you files whenever you make changes.
yarn run build
This will compile your JS and copy your index.html
to the dist
folder which you can deploy whereever as as a good ol' webpage.
Note: There is a bug in Parcel right now messing up minified builds with uglifyjs
Note: There is some issue because of which
import Vue from 'vue'
is importing runtime build of vue rather than full which is why CDN version is used instead.