Add sandbox project using Contentful CMS
I used the boilerplate/typescript project as a starting point. This project fetches and renders books that I'm defining in a Contentful CMS that I created.
This commit is contained in:
parent
57b58e9b2f
commit
527aeeeced
16 changed files with 5965 additions and 0 deletions
12
website/sandbox/contentful/src/index.tsx
Normal file
12
website/sandbox/contentful/src/index.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import App from "./App";
|
||||
import { Provider } from "react-redux";
|
||||
import store from "./store";
|
||||
|
||||
ReactDOM.render(
|
||||
<Provider store={store}>
|
||||
<App />
|
||||
</Provider>,
|
||||
document.getElementById("mount")
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue