Redocly/redoc

redoc-cli serve does not load assets

开放

#1,264 创建于 2020年5月20日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (2,272 个派生)batch import
help wanted

仓库指标

星标
 (21,877 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南