是否有可能构建一个自包含的Angular插件来嵌入其他角度的站点?(Is it possible to build a self

编程入门 行业动态 更新时间:2024-10-26 02:26:53
是否有可能构建一个自包含的Angular插件来嵌入其他角度的站点?(Is it possible to build a self-contained Angular plugin to be embedded in other angular sites?)

我真的很喜欢Angular。

话虽如此,我想在Angular中创建一个可以在其他网站上托管的插件 - 无论他们使用什么框架。 这些框架可以是Angular,也可以是其他的。

当然,后者更容易。 我只是添加我的Angular代码和小提琴。 它只是有效。 前者是我遇到的麻烦 - 使用Angular的网站。

由于以下原因,本地创建的简单设置失败

警告:试图加载角度不止一次。

有关如何解决此问题的任何建议?

I really like Angular.

Having said that, I want to create a plugin in Angular that can be hosted in other websites - no matter what framework they're using. These frameworks can be Angular and it might be something else.

Surely, the latter it easier. I just add my Angular code and violla. It just works. The former is what I'm having troubles with - websites that do use Angular.

A simple setup created locally failed due to:

WARNING: Tried to load angular more than once.

Any suggestions on how I can overcome this issue ?

更多推荐

本文发布于:2023-04-27 20:56:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329056.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有可能   插件   构建一个   角度   站点

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!