Commit a843435a authored by Pithon Kabiro's avatar Pithon Kabiro
Browse files

Use ES6 module approach for imports and exports

There seems to be conflict between the backend server (Node.js &
Express) and our front-end (browser-based) if we want to use module
imports and exports. It is not currently possible to use Node.js /
CommonJS modules. The current solution uses ES6 modules. May need to
look for a better approach.
parent 5d01b6df
Showing with 2 additions and 2 deletions
+2 -2
......@@ -66,8 +66,8 @@
<!--
Custom JS -->
<script defer src="js/appCesium.js"></script>
<script defer src="js/appChart.js"></script>
<script defer type="module" src="js/appCesium.js"></script>
<script defer type="module" src="js/appChart.js"></script>
</head>
<body class="sb-nav-fixed">
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment