Redocly/redoc

redoc-cli serve does not load assets

Open

#1,264 opened on May 20, 2020

View on GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (2,272 forks)batch import
help wanted

Repository metrics

Stars
 (21,877 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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?

Contributor guide