Skip to content

Commit

Permalink
feat: 鼠标例子 fuqiuluo提供
Browse files Browse the repository at this point in the history
  • Loading branch information
sj817 committed Aug 13, 2024
1 parent ba4d214 commit 4e9e448
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import giscusTalk from 'vitepress-plugin-comment-with-giscus'
// 代码块内的代码类型提示
import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'
import '@shikijs/vitepress-twoslash/style.css'
import './public/mouse.js'

export default {
extends: DefaultTheme,
Expand Down
6 changes: 6 additions & 0 deletions docs/.vitepress/theme/public/mouse.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
"build": "vitepress build docs",
"preview": "vitepress preview docs"
},
"devDependencies": {
"vitepress": "^1.3.2"
},
"dependencies": {
"@types/jquery": "^3.5.30",
"@nolebase/markdown-it-bi-directional-links": "latest",
"@nolebase/vitepress-plugin-enhanced-mark": "latest",
"@nolebase/vitepress-plugin-enhanced-readabilities": "latest",
Expand All @@ -30,7 +28,10 @@
"markdown-it-task-lists": "^2.1.1",
"medium-zoom": "^1.1.0",
"sass-embedded": "^1.77.8",
"jquery": "^3.7.1",
"vite": "^5.4.0",
"sass": "^1.77.8",
"vitepress": "^1.3.2",
"vitepress-markdown-timeline": "^1.2.1",
"vitepress-plugin-codeblocks-fold": "^1.2.28",
"vitepress-plugin-comment-with-giscus": "^1.1.15",
Expand Down

0 comments on commit 4e9e448

Please sign in to comment.