Skip to content

Commit

Permalink
add type=module to lit-hydrate-support.js script tag examples (#1272)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Nov 21, 2023
1 parent 797e577 commit ee60e5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lit-dev-content/site/docs/v2/ssr/client-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ For example:
<!-- App components rendered with declarative shadow DOM placed here. -->

<!-- ssr-client lit-element-hydrate-support should be loaded first. -->
<script src="/node_modules/@lit-labs/ssr-client/lit-element-hydrate-support.js"></script>
<script type="module" src="/node_modules/@lit-labs/ssr-client/lit-element-hydrate-support.js"></script>

<!-- As component definition loads, your pre-rendered components will
come to life and become interactive. -->
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-dev-content/site/docs/v3/ssr/client-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ For example:
<!-- App components rendered with declarative shadow DOM placed here. -->

<!-- ssr-client lit-element-hydrate-support should be loaded first. -->
<script src="/node_modules/@lit-labs/ssr-client/lit-element-hydrate-support.js"></script>
<script type="module" src="/node_modules/@lit-labs/ssr-client/lit-element-hydrate-support.js"></script>

<!-- As component definition loads, your pre-rendered components will
come to life and become interactive. -->
Expand Down

0 comments on commit ee60e5a

Please sign in to comment.