vue-plugin-boilerplate
Boilerplate for vue 2&3 plugin development π©π¦
- π¦ Vue2 & Vue3 support
- β‘οΈ Optimized
- π¦Ύ TypeScript support
- πΆπ» Easy
- ποΈ Module formats
- π Clean structure
- vue-demi for Vue2 & Vue3 support
- Rollup
- Pug
- Scss
- Typescript
- Husky
- Eslint
- Stylelint
- Prettier
- Conventional Commit
- Commitlint
- Commitizen
- Changelogen for release management
Clone this repo or create new repo from this template repo
git clone https://github.com/selimdoyranli/vue-plugin-boilerplate.git
This project requires node 18.x.x version
yarn build:vue3 # build for vue3
# Dev
cd dev/vue3
yarn install
yarn dev
yarn build:vue2 # build for vue2
# Dev
cd dev/vue2
yarn install
yarn dev
yarn build # build for vue2 and vue3
# run eslint
yarn lint:eslint
# run eslint fix
yarn lint:eslint:fix
# run stylelint
yarn lint:stylelint
# run stylelint fix
yarn lint:stylelint:fix
# run prettier
yarn prettier
# check types
yarn type:check
Using Conventional Commits, commitizen, commitizen cli
# add files
git add .
# generate commit message
yarn commit # or yarn cz
# push
git push
Using changelogen for release & changelog management, arguments are the same as changelogen
# run changelogen
yarn changelog
You can sponsor me for the continuity of my projects:
Copyright (c) selimdoyranli [email protected]