Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Latest commit

 

History

History

react

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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