求教,编辑器扩展包需要引用npm库,有办法吗
骚等
好的~~~
1赞
可以参考这个【扩展开发模板】:https://gitee.com/ifaswind/ccc-extension-template
或者是已上商店的扩展【骨骼查看器】:https://gitee.com/ifaswind/ccc-skeleton-viewer
以上都使用到了 Cocos Creator 提供的内置面板和 Electron 原生窗口,引用了一些第三方库。
1赞