chore: 删除 main.ts 依赖

This commit is contained in:
就眠儀式 2022-03-08 14:08:09 +08:00
parent 8e89ef7bb1
commit 2735294f11
2 changed files with 8 additions and 3 deletions

View File

@ -8,7 +8,6 @@ import LaySearch from './components/LaySearch.vue'
import LayTableBox from './components/LayTableBox.vue'
import LayComment from './components/LayComment.vue'
import LayAnchor from './components/LayAnchor.vue'
import InstantSearch from 'vue-instantsearch/vue3/es';
import './assets/css/index.css'
export function createApp(): {
@ -22,7 +21,6 @@ export function createApp(): {
app
.use(layui)
.use(router)
.use(InstantSearch)
.component('LayCode', LayCode)
.component('LaySearch', LaySearch)
.component('LayTableBox', LayTableBox)

View File

@ -5,7 +5,14 @@ export default {
</script>
<script lang="ts" setup>
import { ref, shallowRef, withDefaults, computed, onMounted, onBeforeUnmount } from "vue";
import {
ref,
shallowRef,
withDefaults,
computed,
onMounted,
onBeforeUnmount,
} from "vue";
import { useThrottle } from "@vueuse/core";
import LayIcon from "../icon/index";
import "./index.less";