Open huaibaomengxiang opened 3 years ago
看错误提示是你边的的网络访问 https://alibaba.github.io/dawn/template.yml 不通,所以没能拉到默认的模板列表。可以通过执行
dn init -t front
指定模板进行初始化
目前可使用的官方模板如下:
name | description |
---|---|
front | Blank front end project template |
react | React project template |
vue | Vue project template |
node | Blank node project template |
browser | Blank lib project for browser |
middleware | Dawn middleware project template |
middleware-ts | Dawn middleware project template with typescript |
doc | Blank doc project template |
1. Information
2. Problem
dn init 失败 不能正常初始化项目
3. Recurrence
npm install -g dawn dn init