Skip to content

Commit

Permalink
fix(prose): explicitly import UiScrollBar
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Jun 1, 2024
1 parent 45909d3 commit 8d6252b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/content/ProseCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
</span>
<slot />
</div>
<UiScrollBar orientation="horizontal" />
<ScrollBar orientation="horizontal" />
</UiScrollArea>
</UiCard>
</template>

<script setup lang="ts">
import type { BuiltinLanguage } from 'shiki';
import ScrollBar from '../ui/scroll-area/ScrollBar.vue';
const props = defineProps({
code: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "shadcn-docs-nuxt",
"type": "module",
"version": "0.1.0",
"version": "0.1.1",
"author": "Tony Zhang <[email protected]>",
"license": "MIT",
"homepage": "https://shadcn-docs-nuxt.vercel.app/",
Expand Down Expand Up @@ -60,4 +60,4 @@
"shiki": "^1.6.0",
"vue-tsc": "^2.0.19"
}
}
}

0 comments on commit 8d6252b

Please sign in to comment.