gookyn / vite-react-template

Vite + React + TypeScript + Antd Mobile 搭建模板项目

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vite-react-template

Vite + React + TypeScript + Antd Mobile 搭建模板项目

开发方法

安装依赖

yarn

初始化 .env.local 文件

执行命令,生成本地开发需要的 .env.local 文件

yarn gen:env

修改 .env.local 文件, 根据自身情况更新自定义配置(默认为开发环境的配置)

本地开发

yarn start

本地编译

yarn build

About

Vite + React + TypeScript + Antd Mobile 搭建模板项目


Languages

Language:TypeScript 71.4%Language:Less 23.7%Language:HTML 4.8%