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

git clone后本地运行,部分插件无法加载 #1

Open
qi-mooo opened this issue Feb 4, 2021 · 1 comment
Open

git clone后本地运行,部分插件无法加载 #1

qi-mooo opened this issue Feb 4, 2021 · 1 comment

Comments

@qi-mooo
Copy link

qi-mooo commented Feb 4, 2021

通过直接git clone本项目然后npm安装依赖再使用npm run start启动,时间插件和一言还有天气使用正常,其他大部分插件无法加载,通过直接运行npm得到的地址是http://qimo.ink:3666/ 通过yarn build发布然后得到的地址是 http://i.qimo.ink/ 均无法加载像疫情报告等插件。

@suhan1996 suhan1996 changed the title 插件无法加载bug git clone后本地运行,部分插件无法加载 Feb 4, 2021
@suhan1996
Copy link
Contributor

目前暂时不能在我们网站之外加载的组件应该是我们自研的api,大部分未来会计划免费开放。短期潜在的解决方案是通过组件单独URL iframe embed到你的主页(如疫情数据组件的URL:https://nicegoodthings.com/widgets/covid-info)

解耦是我们长期的主题,能让用户可以本地运行此主页也是考虑到的目标之一。组件每一个都是独立的,将有基础与高级之分,高级组件背后的api由开发者提供并决定是否彻底免费开放还是采用订阅模式(考虑访问量承载能力)。

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