vite 搭建 react项目
vite 搭建 react项目
·
执行命令:
# npm 6.x
npm init vite@latest my-app --template react
# npm 7+, 需要额外的双横线:
npm init vite@latest my-app -- --template react
# yarn
yarn create vite my-app --template react
# pnpm
pnpm create vite my-app -- --template react
目前模板:
更多推荐
所有评论(0)