简体   繁体   中英

Create own web documentation from React Native app

Is there a way to create a documentation (like reactnative.dev / react-styleguidist) for a React Native app?

You could use "react-styleguidist" or "storybook" but using "react-native-web" to render the components.

This will not work for all usecases(especially with Android/iOS only components), but hopefully it should cover most of the use cases in a component library.

Storybook has a guide on how to deploy these docs: https://storybook.js.org/tutorials/intro-to-storybook/react-native/en/deploy/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM