Hexo的结构和原理

名字有点吓人,其实我就是想搞明白Hexo的大致结构是什么,它是怎么运行起来的 :-D
我不知道这需要多少专业的前端知识,只求尽量搞懂心中有数就好


Hexo的文件夹结构

1
2
3
4
5
6
7
8
9
.
├── _config.yml
├── db.json
├── node_modules
├── package.json
├── public
├── scaffolds
├── source #所有文章文件放在这里
└── themes #主题文件夹

Node.js

Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

npm

npm is the package manager for JavaScript and the world’s largest software registry. Discover packages of reusable code — and assemble them in powerful new ways.

yarn

Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don’t ever have to worry.

node包

鼓励一下:D