Hi,
quick question. If I try to use redoc with vue.js, webpack will complain that react is missing. But I don't want to install the react components. Is there any other way of using redoc in vue.js?
No, ReDoc requires to React to work as it is React-based (ReDoc is a React component).
You don't need to install any react components, just react and react-dom itself.
I can just recommend you to leverage code-splitting and split ReDoc and all the deps (including React) into a separate bundle which is loaded by route.
Can you give me a tutorial? Whenever I install react into my vuejs project, the app page goes blank.
// Edit: Actually, give all users a tutorial :)
Would be very interested in a tutorial that digs into code-splitting considerations here and how it impacts page loading / bundles / etc.
Looking around for OpenAPI UI theme libs for my Vue project, and not that many decent options to choose from :/
Most helpful comment
Can you give me a tutorial? Whenever I install react into my vuejs project, the app page goes blank.
// Edit: Actually, give all users a tutorial :)