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.gitThis project requires node 18.x.x version
yarn build:vue3 # build for vue3# Dev
cd dev/vue3
yarn install
yarn devyarn build:vue2 # build for vue2# Dev
cd dev/vue2
yarn install
yarn devyarn 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:checkUsing Conventional Commits, commitizen, commitizen cli
# add files
git add .
# generate commit message
yarn commit # or yarn cz
# push
git pushUsing changelogen for release & changelog management, arguments are the same as changelogen
# run changelogen
yarn changelogYou can sponsor me for the continuity of my projects:
Copyright (c) selimdoyranli selimdoyranli@gmail.com
