-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimpleTest.html
45 lines (42 loc) · 1.74 KB
/
simpleTest.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
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Picard.js Static Page Example</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="./dist/picard.js"></script>
</head>
<body>
<div class="jumbotron text-center">
<h1>Hello World!</h1>
<p>This page contains some fragments from micro frontends!</p>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4">
<h3>Static Column 1</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit...</p>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris...</p>
</div>
<div class="col-sm-4">
<pi-component name="column" source="https://assets.piral.cloud/pilets/picard-demos/mf-simple-html/1.0.1/remoteEntry.js" format="module" remote-name="simplehtml"></pi-component>
</div>
<div class="col-sm-4">
<pi-component name="column" source="https://assets.piral.cloud/pilets/picard-demos/nfsimplehtml/1.0.0/remoteEntry.json" format="native"></pi-component>
</div>
</div>
<div>
<pi-component name="counter" source="https://assets.piral.cloud/pilets/picard-demos/pi-simple-html/1.0.1/index.meta.json" format="pilet"></pi-component>
</div>
<div>
<!-- This is an example of a react SPA component, that we expected to work -->
<pi-component name="Product" source="./dist/out.js"
remote-type="esm"
format="module"
framework="single-spa">
</pi-component>
</div>
</div>
</body>
</html>