Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.
jiangweifangPublic archive

About

基于 https://github.com/EYHN/hexo-helper-live2d 的修改版

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

live2d_src

遗留问题:(将会在新项目中进行更新)

  1. JavaScript文件太大
  2. 没有处理v3版本自适应Canvas的高度
  3. 代码将会继续优化

记录编译方法:

  1. 使用VS CODE打开后会有推荐安装的插件,请尽量安装

  2. 还需安装node.js后使用npm命令install 将会自动安装package.json中的依赖

另外需要:

  • Win系统:在PowerShell(非管理员)
    输入:
  1. npm install webpack -g
  2. npm install webpack-cli -g
  3. npm install webpack-dev-server -g 可替换:
  • -g是全局安装参数(建议全局安装)

  • --save-dev是本项目安装参数

  • 编译命令:webpack --config .\webpack.config.js

  • 调试命令:webpack-dev-server

  • webpack视频教学:https://www.bilibili.com/video/av31582899/

  • 此更新已包含 fghrsh:fix #6 cache API respomnse

  • 如果提示:无法加载文件 \npm\webpack.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

  • 解决方法:使用管理员权限运行PowerShell 执行:set-ExecutionPolicy RemoteSigned

About

基于 https://github.com/EYHN/hexo-helper-live2d 的修改版

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages