fix: 修复因 docsearch 产生的对等依赖警告

This commit is contained in:
就眠儀式
2022-03-26 05:07:14 +08:00
parent ac21e6cd91
commit ba7be89388
3 changed files with 4 additions and 5 deletions

View File

@@ -3,12 +3,10 @@
</template>
<script setup name="LaySelect" lang="ts">
// @ts-ignore
import docsearch from "@docsearch/js";
import { onMounted } from "vue";
import "@docsearch/css";
onMounted(() => {
// @ts-ignore
docsearch({
appId: "BIYZTK0F0Q",
apiKey: "de599990b844bc1b325310f61ad19a78",