use module for ion icons

This commit is contained in:
cupcakearmy 2020-09-25 23:42:22 +02:00
parent 993ae0a0b2
commit 2d75da95d1
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -29,6 +29,7 @@
initialise the router --> initialise the router -->
%sapper.scripts% %sapper.scripts%
<script src="https://unpkg.com/ionicons@5.1.2/dist/ionicons.js"></script> <script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
</body> </body>
</html> </html>