Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置官方推荐vue物料地址,物料获取失败 #111

Closed
a526672351 opened this issue Jun 19, 2020 · 3 comments
Closed

配置官方推荐vue物料地址,物料获取失败 #111

a526672351 opened this issue Jun 19, 2020 · 3 comments

Comments

@a526672351
Copy link

image
settings.json 配置如下:

"iceworks.materialSources": [
    {
        "name": "PC Web",
        "type": "vue",
        "source": "http://ice.alicdn.com/assets/materials/vue-materials.json",
        "description": "飞冰官方推荐 Vue 物料"
    }
]
@a526672351
Copy link
Author

@alvinhui 除了page buider异常显示空白外,手动安装$ npm init ice ice-app @d2-admin/ice-scaffold
进行项目初始化,组件创建获取是失败的,排查出来原因是需要在package.json的dependencies声明依赖react才可以正常显示,奇葩的bug

@alvinhui
Copy link
Contributor

alvinhui commented Jun 22, 2020

已修复,VS Code 重启后插件自动更新

@a526672351
Copy link
Author

@alvinhui 最新版本把私服配置地址屏蔽了?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants