查看已安装插件

hexo的插件配置在根目录的package.json中,在dependencies节点中

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"deploy": "hexo deploy",
"server": "hexo server"
},
"hexo": {
"version": "5.4.0"
},
"dependencies": {
"hexo": "^5.0.0",
"hexo-abbrlink": "^2.2.1",
"hexo-algoliasearch": "^1.0.0",
"hexo-blog-encrypt": "^3.1.6",
"hexo-browsersync": "^0.3.0",
"hexo-deployer-git": "^3.0.0",
}
}

安装命令

1
npm install 插件名称 --save

卸载命令

1
npm uninstall 插件名称