chore: 删除 main.ts 依赖
This commit is contained in:
		
							parent
							
								
									8e89ef7bb1
								
							
						
					
					
						commit
						2735294f11
					
				@ -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)
 | 
			
		||||
 | 
			
		||||
@ -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";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user