react 項(xiàng)目創(chuàng)建 和 相關(guān)腳手架

一、DvaJS react[最早腳手架]

https://dvajs.com/guide/getting-started.html#%E5%AE%89%E8%A3%85-dva-cli

npm install dva-cli -g
dva new dva-quickstart

二、UmiJS react 腳手架

【鏈接】 https://umijs.org/zh-CN/docs/getting-started#%E8%84%9A%E6%89%8B%E6%9E%B6

**安裝 **

npm i yarn tyarn -g
mkdir myapp && cd myapp
yarn create @umijs/umi-app
`

三、AntDesign react 腳手架

【鏈接】https://ant.design/docs/react/use-with-create-react-app-cn

**安裝 **

$ yarn create react-app antd-demo

# or

$ npx create-react-app antd-demo

運(yùn)行工具 yarn 和 npm

$ cd antd-demo
$ yarn start  / npm start

安裝antd ui框架

yarn add antd
或
npm add antd

四、經(jīng)典 Create React App : 不用創(chuàng)建腳手架 也能創(chuàng)建項(xiàng)目,厲害了!??!

【鏈接】https://www.html.cn/create-react-app/docs/getting-started/

創(chuàng)建項(xiàng)目

執(zhí)行命令:npx create-react-app myapp
npm start [運(yùn)行命令]
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容