Skip to content

masonz/parcel-vue-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parcel-vue-ts 📦

Build Status codecov standard

Boilerplate for Vue.js & Typescript, base on Parcel bundler.

Name Status Description
@parcel-vue-ts/cli cli-npm command line
@parcel-vue-ts/template template-npm template

What's inside? 🗃

Getting Started 🚀

Install

npm install -g @parcel-vue-ts/cli

Usage

mkdir demo
cd demo
parcel-vue-ts       // init project...
npm install

Development

npm run dev

Parcel has a development server built in, which will automatically rebuild your app as you change files and supports hot module replacement for fast development.

Production

npm run build

When you build production, parcel defaults to enable miniatation.

Unit tests

npm run test:unit

Unit test the code using jest,and you can run through npm run test:coverage to get the test coverage.

Demo

You can preview the result by: https://masonz.github.io/parcel-vue-ts/

License

MIT © masonz