Use this template:
npx degit https://github.com/midwayjs/hooks/examples/vue ./hooks-app
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 modesrc
: source code, include backend and frontend
api
: backend codeothers
: frontend codepublic
: static filesmidway.config.ts
: project configindex.html
: entry file