- 打开准备一个文件夹(框架下载在该文件夹中),空白处右击,打开“git base here”。
- 在弹出框中输入
git clone --depth=1 https://github.com/ant-design/ant-design-pro.git
my-project
若报错(无报错,则跳到第三点)
fatal: unable to access ‘https://github.com/ant-design/ant-design-pro.git/’: OpenSSL SSL_read: Connection was reset, errno 10054
则输入——$ git config --global http.sslVerify “false”
- 继续输入:
cd my-project
- 继续输入:
npm install
- 继续输入:
npm start
打开即可。