Sample of React app using Flagship - JS SDK
-
Node.js: version 6.0.0 or later...
-
Npm: version 3.0.0 or later...
- Install the node module:
examples/react-app$ npm install
- Start the project:
examples/react-app$ npm start
-
You need to link
@flagship.io/js-sdk
:-
1 - At the root level (=
PATH/TO/flagship-js-sdk
), run:flagship-js-sdk$ npm link
-
2 - Then, move to
examples/react-app
:examples/react-app$ npm link PATH/TO/flagship-js-sdk
-