How to Modify the StrongLoop's LoopBack Explorer CSS

后端 未结 5 2029
栀梦
栀梦 2020-12-10 03:18

We\'re using Strongloop\'s LoopBack for our REST APIs and would like to modify the CSS for the LoopBack Explorer. However, it\'s not clear which CSS files are being used (Lo

5条回答
  •  眼角桃花
    2020-12-10 04:03

    With the loopback-component-explorer the uiDirs defined in component-config.json should be added something like the below (which solved my issue).

    "uiDirs": ["server/explorer"]
    

    instead of

    "uiDirs": "server/api-explorer",
    

提交回复
热议问题