How does hexo load plug-ins?

create a new hexo-test, under node_modules file and npm init generate package.json and create index.js .

Why is there no response and execution after writing code in index.js, hexo clean and hexo s ?

just started to study the hexo code and nodejs, also hope to be able to help, thank you very much! ~

Apr.03,2021

you have just created a module that has not been introduced by hexo yet, and of course there will be no output


first you need to install the hexo cli tool

npm install hexo-cli-g

then initialize
hexo init [projectName]

reuse command

Menu