Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rohitkrai03/vue-parcel-example

Minimum viable Vue app with Parcel Bundler
https://github.com/rohitkrai03/vue-parcel-example

Last synced: about 1 month ago
JSON representation

Minimum viable Vue app with Parcel Bundler

Awesome Lists containing this project

README

        

# Vue Parcel Example

A minimum viable Vuejs app with [Parcel Bundler](https://parceljs.org).

## Getting started

Clone and install deps
```
git clone [email protected]: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](https://github.com/parcel-bundler/parcel/issues/8)

> 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.