netlify-cms-react-starter | starter project for creating lightning | Content Management System library
kandi X-RAY | netlify-cms-react-starter Summary
kandi X-RAY | netlify-cms-react-starter Summary
A starter project for creating lightning-fast, offline-first websites with Netlify-CMS and React
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of netlify-cms-react-starter
netlify-cms-react-starter Key Features
netlify-cms-react-starter Examples and Code Snippets
Community Discussions
Trending Discussions on netlify-cms-react-starter
QUESTION
I have a react.js app, and I'd like to add the netlify CMS backend. I followed the setup tutorial here : https://www.netlifycms.org/docs/add-to-your-site/ but when I navigate to mysite/admin I just get my site. I changed around my react-router, and netlify _redirect file, and tried putting the script tags in the body, like this repo did: https://github.com/Jinksi/netlify-cms-react-starter, but now I just get a white screen. Jinksi seems to have gone to great lengths to make this work, using helmet, etc. On the netlifyCMS site there are examples for using Gatsby, etc, but none that use pure react. Is there an easy way to do this at this point in time? Or should I re-write my website using Gatsby.js?
...ANSWER
Answered 2018-Oct-13 at 20:41NetlifyCMS does not support being a component in your react app at the time of this answer (v2.1.3). You can add it to your react app using react-router as long as you do not try to Link
using react-router
. NetlifyCMS is it's own react app and has it's own routing and styling that will interfere with your react app if you import it as a component for now.
Create a create-react-app
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install netlify-cms-react-starter
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page