Ant Design Pro 官方Demo使用
快速启动开发服务
打开你的cmd,并cd好具体位置。
$ yarn create umi myapp
Select the boilerplate type: 选择 Ant Design Pro
❯ ant-design-pro
🤓 Which language do you want to use? 选择你使用的语言
TypeScript
❯ JavaScript
🚀 Do you need all the blocks or a simple scaffold? (Use arrow keys) 选择搭建简单的脚手架或者是复杂的
❯ simple
complete
$ cd myapp
$ yarn
$ yarn start # 打开浏览器访问 http://localhost:8000
因为我这里8000端口占用,故依据提示访问http://localhost:8001
tips: 大约需要等待三分钟才能全部加载完毕。
访问页面
帐号为admin或者user
密码为ant.design