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

amis 如何配置 cdn 加载 #20

Open
eddardzhugitub opened this issue Mar 13, 2023 · 2 comments
Open

amis 如何配置 cdn 加载 #20

eddardzhugitub opened this issue Mar 13, 2023 · 2 comments

Comments

@eddardzhugitub
Copy link

No description provided.

@iceqing
Copy link
Owner

iceqing commented Mar 13, 2023

可以参考amis官网直接使用sdk的形式

https://baidu.github.io/amis/zh-CN/docs/start/getting-started#sdk

比如可以使用如下cdn:

<link href="https://cdn.bootcdn.net/ajax/libs/amis/2.8.0/sdk.min.css" rel="stylesheet">
<script src="https://cdn.bootcdn.net/ajax/libs/amis/2.8.0/sdk.js"></script>
<link href="https://cdn.bootcdn.net/ajax/libs/amis/2.8.0/helper.min.css" rel="stylesheet">
<link href="https://cdn.bootcdn.net/ajax/libs/amis/2.8.0/iconfont.min.css" rel="stylesheet">

@eddardzhugitub
Copy link
Author

试过很多遍,打包后一直报错
1678889089549

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

2 participants