使用的技术

包括 Midway Hooks + ts + vue3 + vue-router + pinia + vant

适用于快速全栈手机尺寸开发

image

使用方法:

git clone  https://github.com/yuwade/hooks-vue3-pinia-template.git

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