fix:无法找到相关库的问题
This commit is contained in:
		
							
								
								
									
										5
									
								
								components.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								components.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -8,7 +8,9 @@ export {}
 | 
			
		||||
/* prettier-ignore */
 | 
			
		||||
declare module 'vue' {
 | 
			
		||||
  export interface GlobalComponents {
 | 
			
		||||
    Alert: typeof import('./src/components/Alert/Alert.vue')['default']
 | 
			
		||||
    BaseBoard: typeof import('./src/components/equipments/BaseBoard.vue')['default']
 | 
			
		||||
    BaseInputField: typeof import('./src/components/InputField/BaseInputField.vue')['default']
 | 
			
		||||
    Canvas: typeof import('./src/components/Canvas.vue')['default']
 | 
			
		||||
    CollapsibleSection: typeof import('./src/components/CollapsibleSection.vue')['default']
 | 
			
		||||
    ComponentSelector: typeof import('./src/components/LabCanvas/ComponentSelector.vue')['default']
 | 
			
		||||
@@ -19,6 +21,7 @@ declare module 'vue' {
 | 
			
		||||
    Dialog: typeof import('./src/components/Dialog.vue')['default']
 | 
			
		||||
    ETH: typeof import('./src/components/equipments/ETH.vue')['default']
 | 
			
		||||
    HDMI: typeof import('./src/components/equipments/HDMI.vue')['default']
 | 
			
		||||
    IpInputField: typeof import('./src/components/InputField/IpInputField.vue')['default']
 | 
			
		||||
    LabCanvas: typeof import('./src/components/LabCanvasNew/LabCanvas.vue')['default']
 | 
			
		||||
    LabCanvasNew: typeof import('./src/components/LabCanvas/LabCanvasNew.vue')['default']
 | 
			
		||||
    LabComponentsDrawer: typeof import('./src/components/LabCanvasNew/LabComponentsDrawer.vue')['default']
 | 
			
		||||
@@ -32,6 +35,7 @@ declare module 'vue' {
 | 
			
		||||
    PG2L100H_FBG676: typeof import('./src/components/equipments/PG2L100H_FBG676.vue')['default']
 | 
			
		||||
    Pin: typeof import('./src/components/equipments/Pin.vue')['default']
 | 
			
		||||
    PopButton: typeof import('./src/components/PopButton.vue')['default']
 | 
			
		||||
    PortInputField: typeof import('./src/components/InputField/PortInputField.vue')['default']
 | 
			
		||||
    PropertyEditor: typeof import('./src/components/PropertyEditor.vue')['default']
 | 
			
		||||
    PropertyPanel: typeof import('./src/components/PropertyPanel.vue')['default']
 | 
			
		||||
    RekaSplitterGroup: typeof import('reka-ui')['SplitterGroup']
 | 
			
		||||
@@ -51,6 +55,7 @@ declare module 'vue' {
 | 
			
		||||
    ThemeControlToggle: typeof import('./src/components/ThemeControlToggle.vue')['default']
 | 
			
		||||
    TutorialCarousel: typeof import('./src/components/TutorialCarousel.vue')['default']
 | 
			
		||||
    UploadCard: typeof import('./src/components/UploadCard.vue')['default']
 | 
			
		||||
    WaveformDisplay: typeof import('./src/components/Oscilloscope/WaveformDisplay.vue')['default']
 | 
			
		||||
    Wire: typeof import('./src/components/equipments/Wire.vue')['default']
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -2,10 +2,9 @@ import './assets/main.css'
 | 
			
		||||
 | 
			
		||||
import { createApp } from 'vue'
 | 
			
		||||
import { createPinia } from 'pinia'
 | 
			
		||||
import VueKonva from "vue-konva"
 | 
			
		||||
 | 
			
		||||
import App from '@/App.vue'
 | 
			
		||||
import router from './router'
 | 
			
		||||
 | 
			
		||||
const app = createApp(App).use(router).use(createPinia()).use(VueKonva).mount('#app')
 | 
			
		||||
const app = createApp(App).use(router).use(createPinia()).mount('#app')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user