Skip to content

gschafra/parcel-vue-typescript-boilerplate

Repository files navigation

parcel-vue-typescript boilerplate project 📦

Boilerplate for Vue.js & Typescript, base on Parcel bundler, copied from masonz/parcel-vue-ts template and modified (updated dependencies, dropped parcle-plugin-vue, since it is natively supported now).

What's inside? 🗃

For class based components use

Prerequisites 📋

Both are managed within the project's package.json using volta.

Getting Started 🚀

Clone this repository, and run npm/yarn install.

git clone [email protected]:gschafra/parcel-vue-typescript-boilerplate.git
cd parcel-vue-ts
pnpm install --shamefully-hoist

Development

pnpm 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

pnpm run build

When you build production, parcel defaults to enable miniatation.

Unit tests

phpm run test:unit

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