Use this hooks-app:
git clone https://github.com/less-js/midway-hooks-app.git
Use npm install
to install the dependencies
npm run dev
: Starts the development servernpm run build
: Builds the application for productionnpm run start
: Runs the application in production mode
src
: source code, include backend and frontendapi
: backend codeothers
: frontend code
public
: static filesmidway.config.ts
: project configindex.html
: entry file