There is difference between the npm package and the code here on line 5 in index.js at the npm package. Using the npm package causes TypeError: Cannot read property 'theme' of undefined on generate. If you use the GitHub code or remove this. from this.hexo.theme.config.less everything works fine.
There is difference between the npm package and the code here on line
5
inindex.js
at the npm package. Using the npm package causesTypeError: Cannot read property 'theme' of undefined
ongenerate
. If you use the GitHub code or removethis.
fromthis.hexo.theme.config.less
everything works fine.