我正在致力于一个角2应用程序,在其中一个组件中我必须实现rappid,并且已经购买了一个许可的rappid,我已经获得了许可的rappid.js文件。
如何将拉皮德与角2相结合的问题。
我必须使用工具栏,光环,检查器,模板和其他ui组件的栅格。
我想如果我使用npm jointjs模块,这些特性将在那里不可用,因为它只会公开核心的JointJS库。
是否有演示应用程序显示Rappid与角2的集成。
发布于 2018-05-06 00:14:52
找不到好的答案,所以我使用了角6和Rappid 2.2做了一个完整的演示
git clone https://github.com/wdunn001/Rappid-Angular-Demo
npm i
ng serve
所以为了让这件事发生我不得不
1. edit the styles.css in your app to have a display block for canvas
2. edit the kitchensink .ts in about a 1000 ways refer to the github to much here to list
3. import the config files and model files and ensure the properly reference the right directory
4. move all assets to the angular assets folder
5. make sure your ts config points to the rappid.min.t.ds file
发布于 2018-01-31 19:47:02
在文件夹应用程序中,有一个用打字本编写的KitchenSink应用程序的版本。文件夹名为KitchenSinkTs。
您仍然需要创建一个模块和一个组件的角度,但它将更容易。
package.json已经有了运行rappid的所有节点依赖项。
https://stackoverflow.com/questions/48209390
复制相似问题