Skip to content

amluck/cesium-in-use

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

常用的 cesium 开发环境

刚开始使用的 cesium 踩过的坑,希望对你有用

https://gitee.com/amluck/cesiumGS 由于使用Cesium源码比较频繁,用gitee搞了一个镜像,一周内会手动同步3-5次

🚀 更新

20200708

  1. Cesium版本更新到了1.71.0
  2. 部分依赖包的版本更新

分支介绍

不同的分支代表不同的环境

1. webpack

参照 cesium 官方 GitHub 库cesium-webpack-example ,添加了@znemz/cesium-navigation

开箱即用
git clone -b webpack https://github.com/amluck/cesium-in-use.git
npm install
npm start
脚本介绍
  • npm start - Runs a webpack build with webpack.config.js and starts a development server
  • npm run build - Runs a webpack build with webpack.config.js
  • npm run release - Runs an optimized webpack build with webpack.release.config.js
  • npm run serve-release - Runs an optimized webpack build with webpack.release.config.js and starts a development server

2. vuecli2

使用Vue Cli 2构建,工程使用了 eslint+prettier 进行代码格式化

开箱即用
git clone -b vuecli2 https://github.com/amluck/cesium-in-use.git
npm install
npm run dev
脚本介绍
  • npm run dev - Runs a serve with hot reload at localhost:8080
  • npm run build - Build for production with minification
  • npm run lint - Lint code by eslint

3. vuecli3+

使用Vue Cli 4.05构建,工程使用了 eslint+prettier 进行代码格式化

开箱即用
git clone -b vuecli3+ https://github.com/amluck/cesium-in-use.git
yarn install
yarn serve
脚本介绍
  • yarn serve - Runs a serve with hot reload at localhost:9099
  • yarn build - Build for production with minification
  • yarn lint - Lint code by eslint

Releases

No releases published

Packages

No packages published