vue-cli-plugin-thrivehive
This Vue CLI 3.x plugin does the following:
- Add separate module for registering global Vue components, initializing plugins (
@/utils/setup
), which is then reused for Storybook - Adds
src/scss
for global styles - Install @thrivehive/eslint-configs packages
- Update eslint config
- Update lint script to lint entire project
- Lint and fix project after installation
Start a new project
Install using @thrivehive/vue-preset for Vue CLI 3.x (recommended):
Make sure Vue CLI is installed:
npm i -g @vue/cli
Install the CLI Plugin:
vue create --preset thrivehive/vue-preset <project-name>
Add to an existing project
Adding to an existing project is not recommended, as CLI plugins may modify and/or overwrite existing modules. Make sure to commit before attempting this.
If your project does not require Vuetify or Storybook, skip the first two commands.
vue add vuetifyvue add storybookvue add thrivehive
Releases
- Run
npm version major|minor|patch
to increment version - Run
npm publish
to release