Skip to content

Commit

Permalink
revert: feat: 添加图片查看器
Browse files Browse the repository at this point in the history
This reverts commit 0c04e36.
  • Loading branch information
Zh40Le1ZOOB committed Mar 10, 2024
1 parent 8d5093b commit 4b779c3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 222 deletions.
10 changes: 1 addition & 9 deletions .vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import { useRoute } from "vitepress";
import DefaultTheme from "vitepress/theme";
import imageViewer from "vitepress-plugin-image-viewer";
import "viewerjs/dist/viewer.min.css";
import "./indent.css";

export default {
...DefaultTheme,
setup() {
imageViewer(useRoute());
},
};
export default DefaultTheme;
209 changes: 0 additions & 209 deletions package-lock.json

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

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"dependencies": {
"vitepress-plugin-image-viewer": "^1.1.2"
},
"devDependencies": {
"sass": "^1.70.0",
"vitepress": "^1.0.0-rc.36",
"vitepress-sidebar": "^1.18.6"
},
Expand Down

0 comments on commit 4b779c3

Please sign in to comment.