We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When installing https://github.com/T-miracle/vitepress-plugin-image-viewer, it only shows the image toolbar, but not the image. And clicking the x button on the top right didn't quit the toolbox overlay.
x
My .vitepress/theme/index.js
.vitepress/theme/index.js
import VPLTheme from '@lando/vitepress-theme-default-plus'; import './custom.css' import 'viewerjs/dist/viewer.min.css'; import imageViewer from 'vitepress-plugin-image-viewer'; import vImageViewer from 'vitepress-plugin-image-viewer/lib/vImageViewer.vue'; import { useRoute } from 'vitepress'; export default { ...VPLTheme, enhanceApp(ctx) { VPLTheme.enhanceApp(ctx); ctx.app.component('vImageViewer', vImageViewer); }, setup() { // Get route const route = useRoute(); // Using imageViewer(route); } };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When installing https://github.com/T-miracle/vitepress-plugin-image-viewer, it only shows the image toolbar, but not the image. And clicking the
x
button on the top right didn't quit the toolbox overlay.My
.vitepress/theme/index.js
The text was updated successfully, but these errors were encountered: