先赞后看,养成习惯!!
写了这么多react的学习笔记,结果忘记发最关键的如何新建项目这步,失误失误
我争取把我当前的环境重现出来吧
安装
第一步
1.环境安装
新建个文件夹,准备安装
mkdir myantdproapp && cd myantdproapp
yarn create umi (tyarn create umi 也行) 或 npm create umi
C:\myantdproapp>yarn create umi
yarn create v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "win32" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
w