Redocly/redoc

redoc-cli serve does not load assets

Open

#1264 aperta il 20 mag 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (2272 fork)batch import
help wanted

Metriche repository

Star
 (21.877 star)
Metriche merge PR
 (Merge medio 3h 40m) (11 PR mergiate in 30 g)

Descrizione

I would like to use redoc-cli serve while developing to see live updated to my site. However non of my images are loading. They all live in the same directory as where I call redoc. My dir structure is

/openapi
  openapi.yaml
/assets
  logo.png
template.hbs

From this directory I call: @npx redoc-cli@0.9.6 serve openapi/openapi.yaml --watch -t template.hbs Any way of making the images show up?

Guida contributor