Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vuepress-plugin-kanban-live2d

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-plugin-kanban-live2d - npm Package Compare versions

Comparing version 1.3.1 to 1.4.1

18

lib/utils/index.js
//引入加载moc所必须的问价
const reuqestUrl = [
"https://lib.sinaapp.com/js/jquery/2.0.2/jquery-2.0.2.min.js",
"https://cdn.jsdelivr.net/gh/UsernameFull/l2d@0.2/js/frame/live2dcubismcore.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/pixi.js/4.6.1/pixi.min.js",
"https://cdn.jsdelivr.net/gh/litstronger/live2d-moc3@master/js/live2dcubismframework.js",
"https://cdn.jsdelivr.net/gh/litstronger/live2d-moc3@master/js/live2dcubismpixi.js",
"https://cdn.jsdelivr.net/gh/litstronger/live2d-moc3@master/js/l2d.js"
// "https://lib.sinaapp.com/js/jquery/2.0.2/jquery-2.0.2.min.js",
// "https://cdn.jsdelivr.net/gh/UsernameFull/l2d@0.2/js/frame/live2dcubismcore.min.js",
// "https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js",
// "https://cdn.jsdelivr.net/gh/litstronger/live2d-moc3@master/js/live2dcubismframework.js",
// "https://cdn.jsdelivr.net/gh/litstronger/live2d-moc3@master/js/live2dcubismpixi.js",
// "https://cdn.jsdelivr.net/gh/litstronger/live2d-moc3@master/js/l2d.js"
"https://cdn.jsdelivr.net/gh/FrancisSaber/live2d@latest/jquery.min.js",
"https://cdn.jsdelivr.net/gh/FrancisSaber/live2d@latest/live2dcubismcore.min.js",
"https://cdn.jsdelivr.net/gh/FrancisSaber/live2d@latest/pixi.min.js",
"https://cdn.jsdelivr.net/gh/FrancisSaber/live2d@latest/live2dcubismframework.js",
"https://cdn.jsdelivr.net/gh/FrancisSaber/live2d@latest/live2dcubismpixi.js",
"https://cdn.jsdelivr.net/gh/FrancisSaber/live2d@latest/l2d.js",
]

@@ -11,0 +17,0 @@

{
"name": "vuepress-plugin-kanban-live2d",
"version": "1.3.1",
"version": "1.4.1",
"description": "vuepress 看板娘插件,支持moc3.0",

@@ -13,8 +13,17 @@ "keywords": [

"homepage": "https://gitee.com/partner-of-justice/live2-d-moc3-kanban#%E8%B5%84%E6%BA%90%E7%9B%AE%E5%BD%95",
"author": {
"name": "ccy",
"email": "1278441339@qq.com",
"url": "https://zhousiwei.gitee.io"
"author": "ccy <1278441339@qq.com>",
"license": "ISC",
"directories": {
"lib": "lib"
},
"license": "ISC"
}
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/FrancisSaber/vuepress-plugin-kanban-live2d.git"
},
"bugs": {
"url": "https://github.com/FrancisSaber/vuepress-plugin-kanban-live2d/issues"
}
}

@@ -1,2 +0,37 @@

vuepress看板娘插件,支持moc3,moc资源通过cdn引入
更换了cdn加快资源加载速度
## vuepress-plugin-kanban-live2d看版娘插件
- 支持moc3
- moc3通过cdn引入
### 问题修复
1. 通过`jsdelivr`提供的cdn服务加快了引擎的加载速
### 用法
```javascript
['vuepress-plugin-kanban-live2d',{
// 是否开启控制台日志打印(default: false)
log: false,
live2d: {
// 是否启用(关闭请设置为false)(default: true)
enable: true,
// 模型名称(default: hibiki)>>>取值请参考:
// https://github.com/JoeyBling/hexo-theme-yilia-plus/wiki/live2d%E6%A8%A1%E5%9E%8B%E5%8C%85%E5%B1%95%E7%A4%BA
model: 'bisimai_2',
mobile: {
show: false // 是否在移动设备上显示(default: false)
},
react: {
opacity: 0.8 // 模型透明度(default: 0.8)
}
},
message:{
welcome:'xxxxx',
closeMessage:'xxx',
home:'xxx',
theme:'xxx'
}
}]
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc