vuepress-plugin-kanban-live2d
Advanced tools
Comparing version 1.3.1 to 1.4.1
//引入加载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' | ||
} | ||
}] | ||
``` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
36460
388
0
38
0
1