react-native-storybook-boilerplate:引人注目的样板程序设置,用于开始开发React Nativ...

React本机故事样板为React Native和Storybook一起构建UI库是一个很好的体验,但是很难在Web上显示组件,因此我想通过react-native-web项目转换react-native组件,以便我可以轻松地显示它们在网上。这是最终的库开发设置,旨在启动React Native的ui库开发。简而言之,有两个不同的Storybook并行运行设置: React Native +故事书/ React-Native它是按照以下常规步骤安装的做一个新的npx react-native init运行npx -p @storybook/cli sb init并在询问是否安装@ storybook / react-native-server时选择yes安装和配置react-native-storybook-loader项目可以在这里找到: React+故事书/React这种安装不太明显,因为我们必须从头开始设置react,配置babel和webpack,而在webpack.config.js我们需要解析并为导入应用别名,因此react-native变为r
zip
react-native-storybook-boilerplate-master.zip 预估大小:83个文件
folder
react-native-storybook-boilerplate-master 文件夹
file
metro.config.js 300B
file
.flowconfig 2KB
file
.gitattributes 16B
folder
public 文件夹
file
index.html 140B
file
yarn.lock 558KB
file
.eslintrc.js 298B
file
webpack.config.js 1003B
file
App.web.js 195B
folder
src 文件夹
file
Containers.js 175B
folder
components 文件夹
folder
StyledPressable 文件夹
file
StyledPressable.stories.js 208B
file
StyledPressable.js 420B
folder
StyledComponent 文件夹
file
StyledComponent.stories.js 208B
file
StyledComponent.js 367B
folder
TestComponent1 文件夹
file
TestComponent1.stories.js 205B
file
TestComponent1.js 202B
folder
TestComponent2 文件夹
file
TestComponent2.js 202B
file
TestComponent2.stories.js 205B
file
babel.config.js 123B
folder
ios 文件夹
folder
RNStorybook 文件夹
file
Info.plist 2KB
file
main.m 200B
file
LaunchScreen.storyboard 6KB
folder
Images.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 585B
file
Contents.json 63B
file
AppDelegate.h 196B
file
AppDelegate.m 2KB
file
Podfile.lock 16KB
folder
RNStorybook-tvOSTests 文件夹
file
Info.plist 733B
folder
RNStorybook.xcodeproj 文件夹
folder
xcshareddata 文件夹
folder
xcschemes 文件夹
file
RNStorybook.xcscheme 3KB
file
RNStorybook-tvOS.xcscheme 3KB
file
project.pbxproj 42KB
file
Podfile 781B
folder
RNStorybookTests 文件夹
file
Info.plist 733B
file
RNStorybookTests.m 2KB
folder
RNStorybook.xcworkspace 文件夹
file
contents.xcworkspacedata 229B
folder
RNStorybook-tvOS 文件夹
file
Info.plist 1KB
folder
.storybook 文件夹
file
main.js 334B
folder
android 文件夹
file
gradlew 6KB
file
settings.gradle 195B
folder
gradle 文件夹
folder
wrapper 文件夹
file
gradle-wrapper.properties 200B
file
gradle-wrapper.jar 57KB
file
gradlew.bat 3KB
file
gradle.properties 1KB
folder
app 文件夹
file
build_defs.bzl 602B
folder
src 文件夹
folder
debug 文件夹
file
AndroidManifest.xml 368B
folder
java 文件夹
folder
com 文件夹
folder
rnstorybook 文件夹
file
ReactNativeFlipper.java 3KB
folder
main 文件夹
file
AndroidManifest.xml 1020B
folder
res 文件夹
folder
mipmap-hdpi 文件夹
file
ic_launcher.png 3KB
file
ic_launcher_round.png 5KB
folder
mipmap-xxxhdpi 文件夹
file
ic_launcher.png 9KB
file
ic_launcher_round.png 15KB
folder
mipmap-xhdpi 文件夹
file
ic_launcher.png 4KB
file
ic_launcher_round.png 7KB
folder
mipmap-mdpi 文件夹
file
ic_launcher.png 2KB
file
ic_launcher_round.png 3KB
folder
values 文件夹
file
strings.xml 74B
file
styles.xml 246B
folder
mipmap-xxhdpi 文件夹
file
ic_launcher.png 6KB
file
ic_launcher_round.png 10KB
folder
java 文件夹
folder
com 文件夹
folder
rnstorybook 文件夹
file
MainActivity.java 349B
file
MainApplication.java 3KB
file
_BUCK 1KB
file
debug.keystore 2KB
file
build.gradle 8KB
file
proguard-rules.pro 435B
file
build.gradle 1002B
file
App.js 3KB
folder
storybook 文件夹
folder
rn-addons.js 文件夹
file
addons.js 86B
file
index.js 749B
folder
__tests__ 文件夹
file
App-test.js 266B
file
README.md 3KB
file
index.web.js 146B
file
.buckconfig 114B
folder
write-up 文件夹
file
Step2.md 10KB
folder
step2_assets 文件夹
file
reactHelloWorld.png 66KB
file
reactNativeWebHelloWorld.png 48KB
file
activityIndicator.png 55KB
file
app.json 59B
file
.gitignore 869B
file
.prettierrc.js 101B
file
index.js 228B
file
.watchmanconfig 2B
file
package.json 2KB
...
zip 文件大小:554.79KB