Vue - Vue3 项目开发
Vue - Vue3 项目开发
可参考:https://www.cnblogs.com/1285026182YUAN/p/17823873.html
1. 定义全局变量
在项目根目录下增加global.d.ts 文件
declare global { interface Window { Cesium: any; viewer: any; // 你可以根据需要定义参数的类型 } } export {}; // 这行是必须的,确保类型被认为是全局扩展
2. vscode 使用插件
Vue - Official
创建项目
npm create vite@latest npm init vue@latest npm init vue@2
参考:https://blog.csdn.net/wsjzzcbq/article/details/136402218
end
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号