Skip to content

Commit

Permalink
fix(demo/index.html): Reference UMD build
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Nov 24, 2018
1 parent dc6bc58 commit 6e7a838
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
<a href="main.css">CSS</a>
</section>
<a href="4.html" style="position:absolute;margin-top:900px;">Link 4</a>
<!-- <script src="index.js"></script> -->
<script src="../dist/quicklink.umd.js"></script>
<script>
quicklink();
</script>
<script type="module">
import quicklink from "../src/index.mjs";
quicklink();
// import quicklink from "../dist/quicklink.mjs";
// quicklink();
// quicklink({
// urls: ['2.html','4.html']
// });
Expand Down

0 comments on commit 6e7a838

Please sign in to comment.