installation base
yarn add npx -g
yarn add degit -g
Find the corresponding template to download
- @template address encyclopedia
- I choose this React17 to create templates
- Copy the github author name and project address where this template is located
- command line input
npx degit 作者名/项目地址
- Finish