Skip to content

Commit

Permalink
updata
Browse files Browse the repository at this point in the history
  • Loading branch information
Null committed Sep 19, 2024
1 parent 7b03825 commit c569a4f
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
})
},
enhanceApp({ app, router, siteData }) {
enhanceApp({ app }) {
// ...
app.component('demo-preview', AntDesignContainer)
app.use(Button).use(Space).use(Input).use(Card)
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"@vitepress-demo-preview/component": "^2.3.2",
"@vitepress-demo-preview/plugin": "^1.2.3",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^11.1.0",
"babel-jest": "^29.7.0",
"chokidar": "^3.6.0",
"commander": "^12.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/hooks/src/useClipboard/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export type clipboardOptions = {

function useClipboard(defaultValue: Ref<string> | string): clipboardOptions {
const clipboardContent = ref(unref(defaultValue));
console.log('🚀 ~ useClipboard ~ clipboardContent:', clipboardContent);

const copyToClipboard = async (text: string) => {
try {
Expand Down
55 changes: 55 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit c569a4f

Please sign in to comment.