Inspired by vue-enterprise-template See the vue-enterprise-template repo
# Setup alias
node _start.js
npm install
# OR
yarnnpm run dev
# OR
yarn devnpm run build
# OR
yarn buildnpm run lint
# OR
yarn lint
# lint and fix
yarn lint --fixProject folders:
These are the folders that you will frequently change while doing the project
- components
- locales
- pages
- router
- services
- store
- styles
Core folder:
These are the common features, components, pages,... for the whole project
- api
- components
- constants
- layouts
- middleware
- mixins
- pages
- plugins
- styles
- utils
Code will be put in the core folder if create a new feature, a new module doesn't make change to that code
Format: <emoji> <commit-message> <fileName (if possible)>|`
See guide at: https://gitmoji.dev/
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Deploying stuff | 🚀 :rocket: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| Refactor or modifying | 🔨 :hammer: |
| Documentation, add README | 📚 :books: |
| Commenting stuff | 📝 :pencil: |
| Styling | 🎨 :art: |
| Hotfix | 🔥 :fire: |
-
master -
dev -
staging -
feature/* -
bugfix/* -
hotfix/* -
Checkout
dev,prodandfeature/*from master -
Checkout
hotfixfrommasterfor production bug fixing -
Checkout
bugfixfromfeature/*for feature bug fixing
- Merge
feature/*intodevfor development - Merge
devintostagingfor demo and testing - Merge
stagingintomasterfor final production