From 9fdf4d00fa4abcdb356a919d293fd8686407ccf9 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 23 Mar 2020 22:12:18 +0000 Subject: 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. --- boilerplate/typescript/src/index.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 boilerplate/typescript/src/index.tsx (limited to 'boilerplate/typescript/src/index.tsx') 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( + + + , + document.getElementById("mount") +); -- cgit 1.4.1