Problem
When exposing a relative base-URL like /themes/lupus_csr_example/dist/nuxt-component-preview/component-index.json to canvas_extjs, it does not find the component index.
It tries to read it as absoulte-path. there is some little quirks that we support both paths and URLs without a clear way to differentiate between them.
Steps to reproduce
use e.g. /themes/lupus_csr_example/dist/nuxt-component-preview/component-index.json
Proposed resolution
Only support absolute URLs, treat everything else as file. If local, file is the preferred way to fetch it.
Comments
Comment #2
fagoComment #4
fagoFix is quite straight-forward, removing a / is enough. Added tests also.
Comment #6
fagoWorks well, merged!