diff --git a/docs/.vuepress/client.ts b/docs/.vuepress/client.ts index a4b6bea5..7590925f 100644 --- a/docs/.vuepress/client.ts +++ b/docs/.vuepress/client.ts @@ -10,6 +10,7 @@ import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import 'instantsearch.css/themes/algolia-min.css' import InstantSearch from 'vue-instantsearch/vue3/es/index.js' +import BiliBiliPlayer from './components/BiliBili.vue' export default defineClientConfig({ enhance({ app, router, siteData }) { @@ -19,6 +20,7 @@ export default defineClientConfig({ app.component('Link', Link) app.component('ImageGallery', ImageGallery) app.component('ImageItem', ImageItem) + app.component('BiliBiliPlayer', BiliBiliPlayer) app.use(InstantSearch) }, setup() {}, diff --git a/docs/.vuepress/components/BiliBili.vue b/docs/.vuepress/components/BiliBili.vue new file mode 100644 index 00000000..2ef9ed86 --- /dev/null +++ b/docs/.vuepress/components/BiliBili.vue @@ -0,0 +1,183 @@ +