Skip to content

Commit 97518a9

Browse files
committed
Added Loaders
1 parent 4f14452 commit 97518a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+38491
-7636
lines changed

examples/cdn/Readme.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ DOME for CSS Loaders hosted on CDN using UMD Module.
22

33
# To run:
44

5-
npx serve
5+
npm install
6+
7+
npx serve

examples/cdn/index.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<div id="container"></div>
1212
<script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
1313
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
14-
<script src="https://unpkg.com/react-spinners/"></script>
15-
<script src="./node_modules/react-spinner-css/dist/bundle.umd.js"></script>
14+
<script src="https://unpkg.com/react-js-css-loaders/"></script>
15+
<script src="./node_modules/react-js-css-loaders/dist/bundle.umd.js"></script>
1616
<script>
17-
const { Loader1 } = window.ReactSpinnerCSS;
17+
const { Moon } = window.ReactCSSLoaders;
1818
const container = document.getElementById('container')
19-
ReactDOM.render(React.createElement(Loader1), container)
19+
ReactDOM.render(React.createElement(Moon), container)
2020
</script>
2121
</body>
2222

0 commit comments

Comments
 (0)