chore: 重构项目结构

This commit is contained in:
anghunk
2026-01-21 10:53:11 +08:00
parent fc86934094
commit 643d5c92e8
59 changed files with 74 additions and 74 deletions

View File

@@ -8,7 +8,7 @@
```html
<div id="comments"></div>
<script src="https://cwd-comments.zishu.me/cwd-comments.js"></script>
<script src="https://cwd.zishu.me/cwd.js"></script>
<script>
const comments = new CWDComments({
el: '#comments',
@@ -58,7 +58,7 @@ comments.updateConfig({ theme: 'dark' });
```html
<div id="comments"></div>
<script src="https://cwd-comments.zishu.me/cwd-comments.js"></script>
<script src="https://cwd.zishu.me/cwd.js"></script>
<script>
const comments = new CWDComments({
el: '#comments',
@@ -72,7 +72,7 @@ comments.updateConfig({ theme: 'dark' });
```astro
<div id="comments"></div>
<script src="https://cwd-comments.zishu.me/cwd-comments.js" is:inline></script>
<script src="https://cwd.zishu.me/cwd.js" is:inline></script>
<script is:inline>
document.addEventListener('DOMContentLoaded', () => {
const comments = new window.CWDComments({