- State management:
vuex
- Router:
vue-router
- Post-CSS:
sass
- Typescript
- TSlint
- Unit test:
jest
- Use
kebab-casing
for file names (e.g.chatbot-users
instead ofchatbotUsers
). - Use
PascaleCasing
for Vue components. - Consistantly using
camelCasing
for component props (e.g.:isCollapsed
is acceptable now)
Currently, we're using JSON server to mock backend server.
- Install JSON server
npm install -g json-server
- Start backend server
json-server --watch src/faker/db.json --port 8081
- Install dependencies
yarn install
- Compiles and hot-reloads for development
yarn run serve
- Compiles and minifies for production
yarn run build
- Run your tests
yarn run test
- Lints and fixes files
yarn run lint
- Run your unit tests
yarn run test:unit