Skip to content

xxbld/vuecli3-cesium-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuecli3-cesium-config

vuecli3-cesium-config (webpack.base.config.js是cli2.x配置)

1. cli create

npm install cesium --save-dev
npm install strip-pragma-loader --save-dev

2. 复制vue.config.js 到根目录

var Cesium = require('cesium/Cesium');
var Color = require('cesium/Core/Color');

//OR

import Cesium from 'cesium/Cesium';
import Color from 'cesium/core/Color';

3.VsCode智能提示

jsconfig.json

About

vuecli3-cesium-config

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published