Open
Description
Describe the bug
I followed the "quick start" guide and am attempting to load a spec in the browser and getting a "path.join is not a function". Is only server-side rendering supported? I didn't see anything to that effect in the quickstart guide.
Expected behavior
To be able to use the RedocStandalone
in an existing react application
I might be missing something, but from the docs it seems that all I need are the packages installed, and then can use the RedocStandalone
react component to render the docs in the browser without utilizing the server side redering abilites. If this is not correct, what am I missing?
import { RedocStandalone } from 'redoc';
export const ApiSpec = (definition: any) => (
<RedocStandalone
spec={definition}
options={{
theme: { colors: { primary: { main: '#dd5522' } } },
}}
/>
);