0.0.1 • Published 6 years ago
@appbaseio/reactive-manual-v3 v0.0.1
Reactive Manual
Data-driven components for building Maps and Search UIs
Reactive Manual contains the docs for all the Reactive components from appbase.io including ReactiveSearch and ReactiveMaps.
Contributing
Prerequisites
- Git
- Node: install version 8.4 or greater
- Yarn: See Yarn website for installation instructions
- A clone of the repo on your local machine
- A fork of the repo (for any contributions)
Installation
- cd reactive-manualto go into the project root
- yarnto install the website's npm dependencies
Running locally
- yarn devto start the hot-reloading development server (powered by Gatsby)
- open http://localhost:8000to open the site in your favorite browser
Contributing
Create a branch
- git checkout masterfrom any folder in your local- reactive-manualrepository
- git pull origin masterto ensure you have the latest main code
- git checkout -b my-awesome-branch(replacing- my-awesome-branchwith a suitable name) to create a branch
Make the change
- Follow the "Running locally" instructions
- Save the files and check in the browser
- Changes to React components in srcwill hot-reload
- Changes to markdown files in contentwill hot-reload
- If working with plugins, you may need to remove the .cachedirectory and restart the server
Tips
- For highlighting specific section of a code use the following format `js{8-11}
Test the change
- If possible, test any visual changes in all latest versions of common browsers, on both desktop and mobile.
- Run yarn check-allfrom the project root. (This will run Prettier, ESLint, and Flow.)
Push it
- git add -A && git commit -m "My awesome message"(replacing- My awesome messagewith a commit message, such as- Fixed a really awesome bug with UI) to stage and commit your changes
- git push my-fork my-awesome-branch
- Go to the repo and you should see recently pushed branches.
- Follow GitHub's instructions.
Troubleshooting
- yarn resetto clear the local cache
0.0.1
6 years ago