Skip to content

Commit 56f6a96

Browse files
authored
Merge pull request #575 from ExperienceLovelace/docs/fix-module-import
Use floorplan-examples.js as module on frontpage
2 parents 327b6c6 + b3b8959 commit 56f6a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_pages/home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ If you're not ready to initiate it on your own. What about testing it? Below you
8080
<p class="page__lead">Here's a real world example of how to use ha-floorplan, with a background created with Floorplanner. This is just a simple example of how to get started. Use a combination of YAML, CSS and JavaScript to get the most out of it, or take a look at the examples to get inspired.
8181
</p>
8282
<div class="example_wrapper">
83-
<script src="docs/floorplan/floorplan-examples.js"></script>
83+
<script src="docs/floorplan/floorplan-examples.js" type="module"></script>
8484
<link rel="stylesheet" href="assets/css/tabs.css">
8585
<div class="tabcontent-container size-auto">
8686
<div data-tab="floorplanner_home-floorplan">

0 commit comments

Comments
 (0)