diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-23T22·12+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-23T22·43+0000 |
commit | 9fdf4d00fa4abcdb356a919d293fd8686407ccf9 (patch) | |
tree | 3227c211118bcfe60f46c6f442fbc5035b2166d9 /boilerplate/typescript/src/index.tsx | |
parent | 1cc1ce5ccf88adcbd064ac46a070b94faa04b871 (diff) |
Support boilerplate for TypeScript projects
I would like to support boilerplate code for ReasonML, TypeScript, ClojureScript, and Elm projects before I specialize in any of these frameworks. All of my projects should use TailwindCSS. All of this boilerplate should offer: - Same command to start developing - Same API to build and deploy - TailwindCSS support - Basic boilerplate for components, state, and routes This TypeScript boilerplate is not complete, but I would like to commit the progress in case I do not return to this for awhile.
Diffstat (limited to 'boilerplate/typescript/src/index.tsx')
-rw-r--r-- | boilerplate/typescript/src/index.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/boilerplate/typescript/src/index.tsx b/boilerplate/typescript/src/index.tsx new file mode 100644 index 000000000000..dc28dc4a9cc8 --- /dev/null +++ b/boilerplate/typescript/src/index.tsx @@ -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") +); |