Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 561 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 561 Bytes

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