Skip to content

Commit

Permalink
Merge branch 'master' into vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
TaTo30 authored Jan 2, 2024
2 parents d4a91ad + 94843ea commit 1dff657
Show file tree
Hide file tree
Showing 9 changed files with 6,184 additions and 291 deletions.
8 changes: 5 additions & 3 deletions docs/examples/advanced/toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
```vue
<script setup>
import { ref, triggerRef, watchEffect } from 'vue';
import { VuePDF, getPDFDestination, usePDF } from '@tato30/vue-pdf';
import { withBase } from 'vitepress/client';
import { VuePDF, usePDF } from '@tato30/vue-pdf';
import { withBase } from '@vuepress/client';
import ChaptersList from './ChaptersList.vue';
const { pdf, info } = usePDF(withBase('/example_045.pdf'))
const { pdf, info, getPDFDestination } = usePDF(withBase('/example_045.pdf'))
const outlineTree = ref([])
watchEffect(() => {
Expand Down
Loading

0 comments on commit 1dff657

Please sign in to comment.