parcel-vue-ts
parcel-vue-ts copied to clipboard
📦 Boilerplate for Vue.js & Typescript, base on Parcel bundler.
parcel-vue-ts 📦
Boilerplate for Vue.js & Typescript, base on Parcel bundler.
Name | Status | Description |
---|---|---|
@parcel-vue-ts/cli | command line | |
@parcel-vue-ts/template | 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