react-example — the wootric configured project for React apps
This project is an application skeleton for a typical Wootric setup web app. You can use it to quickly bootstrap your wootric setup react webapp projects.
The app doesn't do much, just shows how to setup the wootric snippet for React projects.
To get you started simply follow the instructions below:
We also use a number of Node.js tools to install
create-react-app. You must have Node.js and its package manager (npm) installed. You can get them from here. We also are using
Yarn for this project (You can use
spa-examples repository using git:
git clone https://github.com/Wootric/spa-examples.git cd spa-examples cd react-example yarn install/npm install
Setup Wootric (using Wootric component)
src/Wootric.jsfor main setup and update
Wootriccomponent has been added to
src/App.json line 23.
Running the Application
yarn start/npm start for a dev server. Navigate to
http://localhost:3000/ (or the one on which your development server started on).
*This project was bootstrapped with Create React App.