Inspired by vue-enterprise-template See the vue-enterprise-template repo
# Setup alias
node _start.js
npm install
# OR
yarn
npm run dev
# OR
yarn dev
npm run build
# OR
yarn build
npm run lint
# OR
yarn lint
# lint and fix
yarn lint --fix
Project 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
,prod
andfeature/*
from master -
Checkout
hotfix
frommaster
for production bug fixing -
Checkout
bugfix
fromfeature/*
for feature bug fixing
- Merge
feature/*
intodev
for development - Merge
dev
intostaging
for demo and testing - Merge
staging
intomaster
for final production