Vue3+ts+vite starts normal packaging and reports an error Cannot find name 'Cesium'.

1. The normal startup proves that there is no code error

2. All the reports are problems that the imported dependent packages cannot be found

solve: 

Change "build": "vue-tsc && vite build" in package.json to "build": "vite build"

Guess you like

Origin blog.csdn.net/KK_vicent/article/details/130846378