Skip to content

enricodeleo/vue-parceljs-starter

Repository files navigation

📦 Vue.js Parcel Starter

This is a batteries-included Vue.js starter kit (boilerplate) powered by Parcel.

🔋 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)
  • Support for environment variables
  • Vue.js routing and state management
  • good codebase structure
  • bundle visual contents report

Install

Install all dependencies with

npm install

or if you prefer yarn

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

npm run dev

or

yarn dev

Build for production

Simply run

npm run build

or

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

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

Stargazers repo roster for @enricodeleo/vue-parceljs-starter