- Installation from package.json
npm install
- or you can also use npm i PACKAGES -D to install them for development manually
- Test the code
npm run start-server
- the script uses package node-dev to watch the code continoualy in modification
- Transpile to JavaScript for client side
npm run build-client
- the script uses package nodemon to run TypeScript code directly
- Compile TypeScript to JavaScript for server-side
npm run build-server
- you need to set up tsconfig.json of TypeScript first
- https://mae.chab.in/archives/60167
- https://juejin.im/post/5bd698c7f265da0ae8015f12
- https://www.cnblogs.com/stone-lyl/p/9606917.html
- https://dotblogs.com.tw/wasichris/2018/08/30/003238
- http://kazupon.github.io/vue-i18n/installation.html#explanation-of-different-builds
- https://www.codercto.com/a/37195.html