a prototype in turning a gitbook into a react native app
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
android
book
ios
.babelrc
.buckconfig
.flowconfig
.gitattributes
.gitignore
.watchmanconfig
README.md
app.json
index.android.js
index.ios.js
logo.png
package.json

README.md

gitbookNative

Build a gitbook into a react native app!

Set up

Install dependencies

  npm install

Install react-native

  npm install -g react-native

Link in your book folder:

cd book
ln -s ../../<my-gitbook-folder> ./src

Build your book:

npm run book:build

Do the usual react-native things:

In one terminal:

npm start

In another:

react-native run-android

Caveats

Links in your book must be relative to the base path of your book

License

MIT