Respresso React demo.
You'll need java installed on your machine.
In respresso.json you can customize:
- projectToken: Change it to you project's token
- targetDirectory: it should be under src as CRA does not import from elsewhere
- resources: only import what you need and you can change the version number, too
Include resources into your web application
To start using Respresso in your app takes almost zero time and effort. After configuring your Respresso project, just issue
npm run sync and you can start using the resources.
This demo uses react-intl from Yahoo, so you can find all relevant info there. Respresso files are imported in src/index.js.
Color definitions from Respresso are imported in src/App.scss.
Just import your svg files as in src/App.js.
This project was bootstrapped with Create React App.
In the project directory, you can run:
npm run sync
Synchronizes data from Respresso server to src/respresso.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!