- yarn
yarn run build
yarn installyarn run dev- Visit in explorer:
http://localhost:8081
- Develop on branch
dev/{version}/{function name} - Test on branch
test - Fixed version on branch
dev/{version} - Production branch
production
Notice: development branch split from
dev/{last_version}. Ifdev/{last_version}is not exist, split frommaster
'dev/2.0.0/utf8' from 'dev/1.0.0' || 'master'
Files under src/pages path will follow the rules and auto generate routes and sub-routes, the level of routes is consistence with the folder path.
Define router alias in src/router/config.js
Notice: The routes will generate only if
index.vueexists in main folder.
src/pages/trade/openOrders/index.vue => /tradeOpenOrders