Configuration


1. Error ENOSPC occured when run npm run dev:backend on Ubuntu

CMS


1. 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. 1{
  2. 2 "host": {
  3. 3 "url": "http://example.com",
  4. 4 "rootPath": ""
  5. 5 },
  6. 6 "language": {
  7. 7 "default": "zh-cn",
  8. 8 "items": "zh-cn,en-us"
  9. 9 },
  10. 10 "themes": {
  11. 11 "zh-cn": "cms-themeblog",
  12. 12 "en-us": "cms-themeblog"
  13. 13 },
  14. 14 "plugins": {
  15. 15 "cms-plugintrack": {
  16. 16 "enable": false,
  17. 17 "track": {
  18. 18 "google": "",
  19. 19 "baidu": "",
  20. 20 "qq": ""
  21. 21 }
  22. 22 }
  23. 23 }
  24. 24}