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"
|
content="layui,layui-vue,vue,layer,layer-vue,ui,components"
|
||||||
/>
|
/>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
|
||||||
<title>Layui - Vue 开源前端 UI 框架</title>
|
<title>Layui - Vue 开源前端 UI 框架</title>
|
||||||
<!--preload-links-->
|
<!--preload-links-->
|
||||||
</head>
|
</head>
|
||||||
@ -22,5 +23,6 @@
|
|||||||
<!--app-html-->
|
<!--app-html-->
|
||||||
</div>
|
</div>
|
||||||
<script type="module" src="/src/entry-client.ts"></script>
|
<script type="module" src="/src/entry-client.ts"></script>
|
||||||
|
<script type="module" src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -3,12 +3,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup name="LaySelect" lang="ts">
|
<script setup name="LaySelect" lang="ts">
|
||||||
// @ts-ignore
|
|
||||||
import docsearch from "@docsearch/js";
|
|
||||||
import { onMounted } from "vue";
|
import { onMounted } from "vue";
|
||||||
import "@docsearch/css";
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
// @ts-ignore
|
||||||
docsearch({
|
docsearch({
|
||||||
appId: "BIYZTK0F0Q",
|
appId: "BIYZTK0F0Q",
|
||||||
apiKey: "de599990b844bc1b325310f61ad19a78",
|
apiKey: "de599990b844bc1b325310f61ad19a78",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@layui/layui-vue",
|
"name": "@layui/layui-vue",
|
||||||
"version": "0.4.1",
|
"version": "0.4.2-alpha.4",
|
||||||
"author": "就眠儀式",
|
"author": "就眠儀式",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "a component library for Vue 3 base on layui-vue",
|
"description": "a component library for Vue 3 base on layui-vue",
|
||||||
@ -36,7 +36,6 @@
|
|||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docsearch/js": "3.0.0",
|
|
||||||
"@layui/icons-vue": "^1.0.7",
|
"@layui/icons-vue": "^1.0.7",
|
||||||
"@layui/layer-vue": "^1.3.11",
|
"@layui/layer-vue": "^1.3.11",
|
||||||
"@vueuse/core": "^7.6.2",
|
"@vueuse/core": "^7.6.2",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user