Skip to content

Commit 7f2dcaf

Browse files
committed
CHG: reduce example dependency
1 parent 9147666 commit 7f2dcaf

File tree

11 files changed

+6164
-150
lines changed

11 files changed

+6164
-150
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ node_modules
55

66
# builds
77
build
8-
dist
8+
/dist
9+
/example/dist/index.js
910
*.tgz
1011

1112
# misc

example/dist/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6+
<title>react-resizable-rotatable-draggable</title>
7+
<style>
8+
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; outline-color: #f00; }
9+
html, body, #root { position: absolute; top: 0; left: 0; width: 100vw;height: 100vh; overflow: hidden; }
10+
</style>
11+
</head>
12+
<body>
13+
<noscript>You need to enable JavaScript to run this app.</noscript>
14+
<div id="root"></div>
15+
<script src="./index.js"></script>
16+
<script>window.RRRD.initExample(document.querySelector('#root'))</script>
17+
</body>
18+
</html>

example/index.html

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)