Skip to content

kueiapp/node-typescript-express-mysql-vue

Repository files navigation

Build a Web App sample using Node.js and Vue in TypeScript and MySQL

setup by the commands below

  1. Installation from package.json

npm install

  1. or you can also use npm i PACKAGES -D to install them for development manually
  2. Test the code

npm run start-server

  • the script uses package node-dev to watch the code continoualy in modification
  1. Transpile to JavaScript for client side

npm run build-client

  • the script uses package nodemon to run TypeScript code directly
  1. Compile TypeScript to JavaScript for server-side

npm run build-server

  • you need to set up tsconfig.json of TypeScript first

References

  1. https://mae.chab.in/archives/60167
  2. https://juejin.im/post/5bd698c7f265da0ae8015f12
  3. https://www.cnblogs.com/stone-lyl/p/9606917.html
  4. https://dotblogs.com.tw/wasichris/2018/08/30/003238
  5. http://kazupon.github.io/vue-i18n/installation.html#explanation-of-different-builds
  6. https://www.codercto.com/a/37195.html