fix: 修复因 docsearch 产生的对等依赖警告
This commit is contained in:
parent
ac21e6cd91
commit
ba7be89388
@ -13,6 +13,7 @@
|
||||
content="layui,layui-vue,vue,layer,layer-vue,ui,components"
|
||||
/>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
|
||||
<title>Layui - Vue 开源前端 UI 框架</title>
|
||||
<!--preload-links-->
|
||||
</head>
|
||||
@ -22,5 +23,6 @@
|
||||
<!--app-html-->
|
||||
</div>
|
||||
<script type="module" src="/src/entry-client.ts"></script>
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@layui/layui-vue",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2-alpha.4",
|
||||
"author": "就眠儀式",
|
||||
"license": "MIT",
|
||||
"description": "a component library for Vue 3 base on layui-vue",
|
||||
@ -36,7 +36,6 @@
|
||||
"vue": "^3.2.31"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docsearch/js": "3.0.0",
|
||||
"@layui/icons-vue": "^1.0.7",
|
||||
"@layui/layer-vue": "^1.3.11",
|
||||
"@vueuse/core": "^7.6.2",
|
||||
|
Loading…
Reference in New Issue
Block a user