forked from swashata/wp-webpack-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (39 loc) Β· 1.86 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script type="text/javascript">
/* Needed for dynamic publicPath */
window.__wpackIowpackioEToEdist = 'http://localhost:5000/wp-content/plugins/e2e-plug/dist/';
</script>
<link rel="stylesheet" href="http://localhost:5000/wp-content/plugins/e2e-plug/dist/app/main.css" />
<link rel="stylesheet" href="http://localhost:5000/wp-content/plugins/e2e-plug/dist/tsapp/main.css" />
</head>
<body>
<h1>This is for e2e testing</h1>
<!-- App entry Nodes -->
<div id="main-app"></div>
<div id="env-app"></div>
<div id="dyn-app"></div>
<div id="ts-app"></div>
<div id="ts-dyn-app"></div>
<!-- Styling -->
<div id="blue">I should have color #0000ff</div>
<div id="red">I should have color #ff0000</div>
<div id="green">I should have color #00ff00</div>
<div id="yellow">I should have color #ffff00</div>
<!-- Assets -->
<div id="bg-image"><span>I should have a background image!</span></div>
<div id="img-tag"></div>
<!-- Scripts enqueue -->
<script type='text/javascript' src='http://localhost:5000/wp-content/plugins/e2e-plug/dist/app/runtime.js'></script>
<script type='text/javascript' src='http://localhost:5000/wp-content/plugins/e2e-plug/dist/app/vendors~main.js'></script>
<script type='text/javascript' src='http://localhost:5000/wp-content/plugins/e2e-plug/dist/app/main.js'></script>
<script type='text/javascript' src='http://localhost:5000/wp-content/plugins/e2e-plug/dist/tsapp/runtime.js'></script>
<script type='text/javascript' src='http://localhost:5000/wp-content/plugins/e2e-plug/dist/tsapp/vendors~main.js'></script>
<script type='text/javascript' src='http://localhost:5000/wp-content/plugins/e2e-plug/dist/tsapp/main.js'></script>
</body>
</html>