diff --git a/examples/umd/README.md b/examples/umd/README.md new file mode 100644 index 0000000000..9edec8daa6 --- /dev/null +++ b/examples/umd/README.md @@ -0,0 +1,43 @@ +# ReactMD with UMD + +This is a simple example of how you can use the UMD bundles from React, +ReactDOM, and ReactMD. + +## What's Included + +I super simple `index.html` file that: + +- loads the Material Icons and Roboto fonts +- loads the `React`, `ReactDOM`, and `ReactMD` UMD bundles +- creates a simple [index.html](./index.html) that uses the `TextContainer` and + `Text` components from `ReactMD` + +## How to Use + +First download the example (or just copy/paste the [index.html](./index.html)): + +```bash +curl https://codeload.github.com/mlaursen/react-md/tar.gz/master | tar -xz --strip=2 react-md-master/examples/nextjs +cd nextjs +``` + +Next, open the file by double clicking or running the following command in the +command line: + +```sh +open index.html +``` + +Finally, manually update the `index.html` with changes in the final ` + + + + + + + + + + + + + + + + +
+ + +