1、先去cesium官网下载cesium包
链接: https://cesium.com/platform/cesiumjs/
2、解压下载好的包,在Build目录中单独拿出Cesium文件夹放到public文件夹目录下
3、在index.html引入cesium的css、js文件
<link rel="stylesheet" href="./Cesium/Widgets/widgets.css"/>
<script
1、先去cesium官网下载cesium包
链接: https://cesium.com/platform/cesiumjs/
2、解压下载好的包,在Build目录中单独拿出Cesium文件夹放到public文件夹目录下
3、在index.html引入cesium的css、js文件
<link rel="stylesheet" href="./Cesium/Widgets/widgets.css"/>
<script