Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/enricodeleo/vue-parceljs-starter

A vue.js starter powered by 📦 parceljs
https://github.com/enricodeleo/vue-parceljs-starter

boilerplate jamstack-site parcel-bundler starter-kit vuejs vuex

Last synced: 2 months ago
JSON representation

A vue.js starter powered by 📦 parceljs

Awesome Lists containing this project

README

        

# 📦 Vue.js Parcel Starter

This is a batteries-included [Vue.js](https://vuejs.org/) starter kit (_boilerplate_) powered by [Parcel](https://parceljs.org/).

## 🔋 Batteries included

This starter includes some useful gears like:

* modern ES support with Babel 7
* code linting
* images optimization
* style vendor prefixing for some backward compatibility
* consistent code formatting (if your editor supports [editor config](https://editorconfig.org/))
* Support for environment variables
* Vue.js routing and state management
* good codebase structure
* bundle visual contents report

## Install

Install all dependencies with

```bash
npm install
```

or if you prefer yarn

```bash
yarn
```

Copy `.env.example` to `.env` if you want use environment (e.g. `process.env.VARIABLE`) variables during development with ease.

## Usage

During develop run

```bash
npm run dev
```

or

```bash
yarn dev
```

## Build for production

Simply run

```bash
npm run build
```

or

```bash
yarn build
```

Your built assets will be within the `./dist` directory.

**You'll also find a visual report about bundles in `./dist/report.html`**.

## Author
[Enrico Deleo](https://enricodeleo.com)

_Thanks to everyone having starred my repo! If you like this project, please consider your star_

[![Stargazers repo roster for @enricodeleo/vue-parceljs-starter](https://reporoster.com/stars/enricodeleo/vue-parceljs-starter)](https://github.com/enricodeleo/vue-parceljs-starter/stargazers)