diff --git a/fite.config.js b/fite.config.js index f2d9e77..b099740 100644 --- a/fite.config.js +++ b/fite.config.js @@ -25,11 +25,13 @@ export default { // 有用到其他的库, 可以手动添加, // 也可以在页面中直接引入完整的路径, 而不必须在这里声明 imports: { + 'es.shim': '//jscdn.ink/es.shim/2.1.0/index.js', vue: '//jscdn.ink/vue/3.2.47/vue.esm-browser.prod.js', 'vue-router': '//jscdn.ink/@bytedo/vue-router/4.1.6/vue-router.js', // 这个库被vue-router依赖, 可以注释掉vue-router代码中的 @vue/devtools-api 的引入 // 以达到减少不必须的体积的效果 fetch: '//jscdn.ink/@bytedo/fetch/latest/next.js', - '@bd/core': '//jscdn.ink/@bd/core/latest/index.js' + '@bd/core': '//jscdn.ink/wkit/latest/index.js', + wkit: '//jscdn.ink/wkit/latest/index.js' } } diff --git a/package.json b/package.json index c74dc4d..6558bda 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,6 @@ "build": "fite build" }, "devDependencies": { - "fite": "^0.6.0" + "fite": "^1.1.6" } } diff --git a/src/main.js b/src/main.js index 5057482..bda599a 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,6 @@ import { createApp } from 'vue' -import '//jscdn.ink/es.shim/2.1.0/index.js' +import 'es.shim' import '//jscdn.ink/@bd/ui/latest/form/input.js' import '//jscdn.ink/@bd/ui/latest/form/button.js' import '//jscdn.ink/@bd/ui/latest/form/switch.js' diff --git a/src/views/request.vue b/src/views/request.vue index a507733..beaa646 100644 --- a/src/views/request.vue +++ b/src/views/request.vue @@ -6,13 +6,14 @@ placeholder="请输入开源库的名字" @submit="search" /> - 只显示待审核 没找到你想的库?点击申请收录 +