Skip to content

Commit 575aef4

Browse files
committed
Added link to vendor.js file
1 parent 150f7dd commit 575aef4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
1111
<link rel="manifest" href="manifest.json">
1212
<meta name="theme-color" content="#4e8ef7">
13-
13+
1414
<!-- cordova.js required for cordova apps -->
1515
<script src="cordova.js"></script>
1616

@@ -19,7 +19,7 @@
1919
if ('serviceWorker' in navigator) {
2020
navigator.serviceWorker.register('service-worker.js')
2121
.then(() => console.log('service worker installed'))
22-
.catch(err => console.log('Error', err));
22+
.catch(err => console.error('Error', err));
2323
}
2424
</script>-->
2525

@@ -34,7 +34,11 @@
3434
<!-- The polyfills js is generated during the build process -->
3535
<script src="build/polyfills.js"></script>
3636

37-
<!-- The bundle js is generated during the build process -->
37+
<!-- The vendor js is generated during the build process
38+
It contains all of the dependencies in node_modules -->
39+
<script src="build/vendor.js"></script>
40+
41+
<!-- The main bundle js is generated during the build process -->
3842
<script src="build/main.js"></script>
3943

4044
</body>

0 commit comments

Comments
 (0)