diff --git a/examples/templates/example.html b/examples/templates/example.html index 496e1eb8cf..145aee08b9 100644 --- a/examples/templates/example.html +++ b/examples/templates/example.html @@ -181,8 +181,7 @@
main.js
-
import 'ol/ol.css';
-{{ js.source }}
+
{{ js.source }}
@@ -198,6 +197,7 @@ <script src="https://cdn.polyfill.io/v3/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,TextDecoder"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/3.18.3/minified.js"></script>{{#if extraHead.remote}} {{ indent extraHead.remote spaces=4 }}{{/if}} + <link rel="stylesheet" href="node_modules/ol/ol.css"> <style> .map { width: 100%; @@ -206,7 +206,7 @@ {{#if css.source}}{{ indent css.source spaces=6 }}{{/if}} </style> </head> <body> -{{ indent contents spaces=4 }} <script src="main.js"></script> +{{ indent contents spaces=4 }} <script type="module" src="main.js"></script> </body> </html>