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

Website Deployment Application : ant-design-blazor #654

Open
ElderJames opened this issue Jan 4, 2025 · 10 comments
Open

Website Deployment Application : ant-design-blazor #654

ElderJames opened this issue Jan 4, 2025 · 10 comments
Labels
deploy to web deploy bot to the website

Comments

@ElderJames
Copy link

I would like to deploy the robot on my website. Here is the information about my bot.

bot_id bot_name bot_description
9dda22fa-1d1a-4854-a53a-5abbc5584840 ant-design-blazor 🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.

My website: https://antblazor.com/

Copy link

Your application to deploy the robot on your website has been received. The team will review your request, and you will be notified once the review process is complete. Please be patient during this time.

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@xingwanying xingwanying added the deploy to web deploy bot to the website label Jan 6, 2025
@xingwanying
Copy link
Contributor

@ElderJames
Copy link
Author

请问下这些js都要引入吗?对于我的站点只需这一个组件,不需要react和其他js库的

<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@petercatai/assistant/dist/umd/assistant.min.css"></link>
  <script src="https://cdn.jsdelivr.net/npm/react/umd/react.development.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/react-dom/umd/react-dom.development.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/dayjs/dayjs.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/antd/dist/antd.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/lottie-web/build/player/lottie.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@petercatai/assistant/dist/umd/assistant.min.js"></script>
</head>

@xingwanying
Copy link
Contributor

如果已经安装过依赖的话可以不用,但是没有的话是需要的,都是这个组件的依赖库

@ElderJames
Copy link
Author

ElderJames commented Jan 8, 2025

引入后无法使用,请问哪里有问题?

image

@xingwanying
Copy link
Contributor

xingwanying commented Jan 9, 2025

@ElderJames
已经修复 #668
可以再试一下,另外 PetercatLUI 初始化的代码建议放在最底部,如果还是有问题可以提供一下完整的引用代码或者迭代分支

@ElderJames
Copy link
Author

完整的代码就是截图上的这些了,复制文档的,cdn替换了fastly,文档中的不能访问。

@xingwanying
Copy link
Contributor

完整的代码就是截图上的这些了,复制文档的,cdn替换了fastly,文档中的不能访问。

新的还有问题么?

@ElderJames
Copy link
Author

可以了,谢谢!不过本地localhost调用是401,是白名单的问题吗?

@xingwanying
Copy link
Contributor

可以了,谢谢!不过本地localhost调用是401,是白名单的问题吗?

是的,只给你的域名加白了,没加本地,你可以部署上线看看,有问题再联系我们

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

No branches or pull requests

2 participants