Redocly/redoc

redoc-cli serve does not load assets

Open

#1.264 aberto em 20 de mai. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)TypeScript (2.272 forks)batch import
help wanted

Métricas do repositório

Stars
 (21.877 stars)
Métricas de merge de PR
 (Mesclagem média 3h 40m) (11 fundiu PRs em 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?

Guia do colaborador