A Vitejs 3.x + React18 + Antd4.x project template.
Based On: vite-react-antd
- copy
.env.development.example
to.env.development
- get your mapbox token, put in file
.env.development
:
VITE_APP_MAPBOX_TOKEN = 'put your mapbox token here'
- install dependencies
yarn
- start dev
yarn dev
- build artifact
yarn build