A simple generic example template.And it includes front-end Docker deployment capability.
MIT License
This starter template includes:
Unplugin Utilities:
The quickest way to do this is to download the zip of the project or fork it into your personal repository.
Clone code: execute command---git clone https://github.com/laoer536/vite3.0-react18-TypeScript-router-dom6-mobx6-Eslint-prettier-template
The editor opens and downloads the dependencies:Execution of commands--- pnpm i
Running Projects:pnpm dev
Packing project
Test Package:pnpm build:test
Production Package:pnpm build
(The environment variable file (env) has been added to the root directory, so you can add packaging commands and environment files according to your project.)
Ensure that Docker is installed on your computer.
Just run pnpm release:local
Then you can view your project on <your IP>
Vite5 requires your node version to be 18+ or 20+.