File tree Expand file tree Collapse file tree 6 files changed +39
-2
lines changed
demo/test-vuepress/copyright Expand file tree Collapse file tree 6 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { defineClientConfig } from "vuepress/client";
22
33import { setupUI } from "./client.components" ;
44import { setupPlugins } from "./client.plugins" ;
5-
5+ import Clarity from '@microsoft/clarity' ;
66// 布局
77import Layout from "./layouts/Layout.vue" ;
88import AuthorDetail from "./plugins/vuepress-plugin-sillot-author/components/AuthorDetailPage.vue" ;
@@ -50,5 +50,7 @@ export default defineClientConfig({
5050 } ) ;
5151
5252 console . log ( "页面搜索路由已注册" ) ;
53+
54+ Clarity . init ( "ub9am2gcgh" ) ;
5355 } ,
5456} ) ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default defineThemeConfig({
3838 * 文章版权信息
3939 * @see https://theme-plume.vuejs.press/guide/features/copyright/
4040 */
41- // copyright: true ,
41+ copyright : 'CC-BY-NC-4.0' ,
4242
4343 prevPage : true , // 是否启用上一页链接
4444 nextPage : true , // 是否启用下一页链接
Original file line number Diff line number Diff line change 1+ ---
2+ title : 假设这是一篇翻译文章
3+ copyright :
4+ creation : translate
5+ license : CC-BY-4.0
6+ source : https://example.com/origin
7+ author :
8+ name : 原文作者
9+ url : https://example.com/author
10+ createTime : 2025/11/25 03:51:13
11+ permalink : /demo/ry73qxg2/
12+ ---
13+ 翻译了一些内容
Original file line number Diff line number Diff line change 1+ ---
2+ title : 假设这是一篇转载文章
3+ copyright :
4+ creation : reprint
5+ license : CC-BY-4.0
6+ source : https://example.com/origin
7+ author :
8+ name : 转载者
9+ url : https://example.com/author
10+ createTime : 2025/11/25 03:49:35
11+ permalink : /demo/l2v9mwte/
12+ ---
13+ 转载了一些内容
Original file line number Diff line number Diff line change 3838 "vuepress-theme-plume" : " 1.0.0-rc.178"
3939 },
4040 "dependencies" : {
41+ "@microsoft/clarity" : " ^1.0.0" ,
4142 "artplayer" : " ^5.2.3" ,
4243 "chart.js" : " ^4.5.0" ,
4344 "d3" : " ^7.9.0" ,
You can’t perform that action at this time.
0 commit comments