构建时必须单独下载 Cubism 5 SDK

作者: tb148创建于 2025年7月6日更新于 2026年5月22日

In src/model.ts, there is a line like this:

typescript
this.cubism5model.initialize();

However, in src/cubism5/index.js, AppDelegate does not have a initialize method. This method is actually defined in LAppDelegate, which is defined in the Cubism 5 SDK. Therefore, if the Cubism 5 SDK is not available during the build, the following error will occur:

内容来源: stevenjoezhang/live2d-widget