开源软件名称:live2d-widget.js开源软件地址:https://gitee.com/zhousiwei/live2d-widget.js开源软件介绍:在网站上集成Live2D看板娘具有开箱即用的体验
线上预览项目使用
live2d-widget.jsAdd the Sseexxyyy live2d to your webpages! Seperated from hexo-helper-live2d. Demo: Still working, but you can have a look~ Docs(including APIs): Click me! Online generator: TBD. UseageHexoPlease visit hexo-helper-live2d for the hexo plugin. WebpagesFile on your serverDownload the latest release, and then copy and extract the Use online generator (recommended) to generate codes. However, if you want to do it manually, follow the instruction below:import the js: <script src = "( your script path here )"></script> Then call the function along with your config. L2Dwidget.init({ 'config1': 'value1', 'config2': 'value2',}); Bookmark (any pages)TBD. https://www.cnblogs.com/pcyy/p/5655542.html SettingsSee the document. Current supported models:
Custom model
Attention! The path of the model's json must be An Example:Your model is named Then, create a folder at Copy your model to Up to now, there should be
Enjoy!
Github: https://github.com/EYHN/hexo-helper-live2d issues: https://github.com/EYHN/hexo-helper-live2d/issues ContributePlease pay enough attention to this document if you want to commit your changes or submit issues. Releated projectsLicense |
请发表评论