Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 879 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 879 Bytes

Vue Parcel Example

A minimum viable Vuejs app with Parcel Bundler.

Getting started

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.

Building for Production

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.