Skip to content

Commit

Permalink
Update Code
Browse files Browse the repository at this point in the history
  • Loading branch information
pipe.zkk committed Dec 29, 2023
1 parent 1ef4f16 commit e0cb953
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _posts/2023-10~12/2023-12-27-lit-ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ const html = collectResultSync(result);
<template shadowroot="open" shadowrootmode="open">
<style>* { color: red; }</style>
<!--lit-part zwZEgz88vW4=-->
<div>hello world</div>
<!--SSR 后里面的内容可以再次修改,后续的比对是组件内的模板 strings 和上面的这个 digest -->
<div>hello world</div>
<!--lit-node 1-->
<button >
count
Expand Down

0 comments on commit e0cb953

Please sign in to comment.