We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我的使用场景是这样的: 我们自己的平台上会直接嵌套一个iframe,指向amis-editor-demo这个库里build出来的index.html 目前是想开发基于jquery的自定义组件,但是我在amis-editor-demo里面import { registerRendererByType } from 'amis-widget';报错了。 无法找到模块“amis-widget”的声明文件。“/amis-editor-demo-master/node_modules/amis-widget/dist/index.umd.js”隐式拥有 "any" 类型。有什么解决办法吗,或者说amis-widget-cli里面编译的插件如何导入到amis-editor-demo里面
import { registerRendererByType } from 'amis-widget';
The text was updated successfully, but these errors were encountered:
@1292547006 amis-widget-cli和amis-widget 主要用来开发爱速搭平台端自定义组件的,amis-widget-cli构建出的自定义组件不支持在第三方平台直接使用的。 原因:amis-widget-cli在构建自定义组件时会剔除所有第三方依赖,通过NPM扩展包方式添加到平台时会进行一次构建(剔除爱速搭平台端已有的依赖),确保自定义组件能复用平台端的依赖。
Sorry, something went wrong.
No branches or pull requests
我的使用场景是这样的:
我们自己的平台上会直接嵌套一个iframe,指向amis-editor-demo这个库里build出来的index.html
目前是想开发基于jquery的自定义组件,但是我在amis-editor-demo里面
import { registerRendererByType } from 'amis-widget';
报错了。无法找到模块“amis-widget”的声明文件。“/amis-editor-demo-master/node_modules/amis-widget/dist/index.umd.js”隐式拥有 "any" 类型。有什么解决办法吗,或者说amis-widget-cli里面编译的插件如何导入到amis-editor-demo里面
The text was updated successfully, but these errors were encountered: