Initial commit

This commit is contained in:
anghunk
2026-01-14 10:02:58 +08:00
commit 8f2fde5188
86 changed files with 74925 additions and 0 deletions

18
widget/README.md Normal file
View File

@@ -0,0 +1,18 @@
# cwd 评论前端模板
## 使用方法
```html
<!-- 评论组件容器 -->
<div id="comments"></div>
<script src="dist/cwd-comments.js"></script>
<script>
new CWDComments({
el: '#comments', // 容器 ID
apiBaseUrl: 'https://message.zishu.me', // 部署的后端地址
postSlug: '/message', // 当前页面路径,可使用博客程序支持的 url 模板路径
}).mount();
</script>
```