Skip to content

a prototype in turning a gitbook into a react native app

Notifications You must be signed in to change notification settings

protozoa-nz/gitbookNative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 31, 2017
396a5ea · May 31, 2017

History

10 Commits
May 25, 2017
May 25, 2017
May 31, 2017
May 25, 2017
May 25, 2017
May 25, 2017
May 25, 2017
May 25, 2017
May 31, 2017
May 25, 2017
May 31, 2017
May 25, 2017
May 30, 2017
May 25, 2017
May 31, 2017
May 30, 2017

Repository files navigation

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