Once installed, CMS plugins are automatically included. How to disable a plugin?
Set enable: false
in Site Configuration
or Language Configuration
. For example, to disable the plugin cms-plugintrack
, you can configure it as follows:
- 1{
- 2 "host": {
- 3 "url": "http://example.com",
- 4 "rootPath": ""
- 5 },
- 6 "language": {
- 7 "default": "zh-cn",
- 8 "items": "zh-cn,en-us"
- 9 },
- 10 "themes": {
- 11 "zh-cn": "cms-themeblog",
- 12 "en-us": "cms-themeblog"
- 13 },
- 14 "plugins": {
- 15 "cms-plugintrack": {
- 16 "enable": false,
- 17 "track": {
- 18 "google": "",
- 19 "baidu": "",
- 20 "qq": ""
- 21 }
- 22 }
- 23 }
- 24}
Comments: