Skip to content

Commit 4e58f7c

Browse files
committed
example: update web example to use latest bootstrap js
Signed-off-by: Shengqi Chen <[email protected]>
1 parent cd11633 commit 4e58f7c

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

example/web/index.html

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<!--
5-
If you are serving your web app in a path other than the root, change the
6-
href value below to reflect the base path you are serving from.
7-
8-
The path provided below has to start and end with a slash "/" in order for
9-
it to work correctly.
10-
11-
Fore more details:
12-
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13-
-->
144
<base href="/">
155

166
<meta charset="UTF-8">
@@ -26,20 +16,12 @@
2616
<!-- Favicon -->
2717
<link rel="icon" type="image/png" href="favicon.png"/>
2818

29-
<title>flutter_web_plugin_test_example</title>
19+
<title>Flutter NFC Kit Example</title>
3020
<link rel="manifest" href="manifest.json">
3121
</head>
3222
<body>
33-
<!-- This script installs service_worker.js to provide PWA functionality to
34-
application. For more information, see:
35-
https://developers.google.com/web/fundamentals/primers/service-workers -->
36-
<script>
37-
if ('serviceWorker' in navigator) {
38-
window.addEventListener('flutter-first-frame', function () {
39-
navigator.serviceWorker.register('flutter_service_worker.js');
40-
});
41-
}
42-
</script>
43-
<script src="main.dart.js" type="application/javascript"></script>
23+
<script>
24+
{{flutter_bootstrap_js}}
25+
</script>
4426
</body>
4527
</html>

0 commit comments

Comments
 (0)