保罗 API NodeJS 版
Go to file
奇趣保罗 30062e5d99 Init: With Starter Template
官方模板初始化项目
2022-04-09 21:29:54 +08:00
public Init: With Starter Template 2022-04-09 21:29:54 +08:00
src Init: With Starter Template 2022-04-09 21:29:54 +08:00
.gitignore Init: With Starter Template 2022-04-09 21:29:54 +08:00
README.md Init: With Starter Template 2022-04-09 21:29:54 +08:00
index.html Init: With Starter Template 2022-04-09 21:29:54 +08:00
midway.config.ts Init: With Starter Template 2022-04-09 21:29:54 +08:00
package.json Init: With Starter Template 2022-04-09 21:29:54 +08:00
tsconfig.json Init: With Starter Template 2022-04-09 21:29:54 +08:00
yarn.lock Init: With Starter Template 2022-04-09 21:29:54 +08:00

README.md

hooks-react-starter

Use this template:

npx degit https://github.com/midwayjs/hooks/examples/react ./hooks-app

Use npm install to install the dependencies

Commands

  • npm run dev: Starts the development server
  • npm run build: Builds the application for production
  • npm run start: Runs the application in production mode

File Structure

  • src: source code, include backend and frontend
    • api: backend code
    • others: frontend code
  • public: static files
  • midway.config.ts: project config
  • index.html: entry file