vue2-openlayers 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -3
- package/README.md +0 -24
- package/babel.config.js +0 -5
- package/dist/css/index.34f0f0b9.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/img/bottom_box.625e42a5.png +0 -0
- package/dist/img/car1.dd9a098b.png +0 -0
- package/dist/img/complete.2d0fa612.png +0 -0
- package/dist/img/diago_content.0d88c929.png +0 -0
- package/dist/img/diago_text_box.2e4da66b.png +0 -0
- package/dist/img/diago_title.2bd95b7a.png +0 -0
- package/dist/img/exception.a1eeefc3.png +0 -0
- package/dist/img/info1.829a6d7e.png +0 -0
- package/dist/img/info2.09e6e79e.png +0 -0
- package/dist/img/info3.3f96f756.png +0 -0
- package/dist/img/info4.6adcb927.png +0 -0
- package/dist/img/info5.ff3fdd2f.png +0 -0
- package/dist/img/info6.6e159d95.png +0 -0
- package/dist/img/left_box.40419b36.png +0 -0
- package/dist/img/money1.0743e701.png +0 -0
- package/dist/img/money2.58610d4d.png +0 -0
- package/dist/img/operating_fee.e6523ccc.png +0 -0
- package/dist/img/processing.28e46e7f.png +0 -0
- package/dist/img/public_content_box.39782fb5.png +0 -0
- package/dist/img/public_title_box1.6002afd4.png +0 -0
- package/dist/img/right_box.08458fe5.png +0 -0
- package/dist/img/success1.0cbc58af.png +0 -0
- package/dist/img/success2.af1a7499.png +0 -0
- package/dist/img/success3.d74caac5.png +0 -0
- package/dist/img/success4.37cc2343.png +0 -0
- package/dist/img/top_box.806bc756.png +0 -0
- package/dist/img/warehouse_map_popup.fa26d6cd.png +0 -0
- package/dist/img/work_error.3c528fdd.png +0 -0
- package/dist/img/work_su.0cbc58af.png +0 -0
- package/dist/img/work_wait.a2a706c9.png +0 -0
- package/dist/index.html +0 -13
- package/dist/js/chunk-vendors.901bdf0b.js +0 -8
- package/dist/js/chunk-vendors.901bdf0b.js.map +0 -1
- package/dist/js/index.29606843.js +0 -2
- package/dist/js/index.29606843.js.map +0 -1
- package/docs/.vuepress/config.js +0 -25
- package/docs/.vuepress/dist/404.html +0 -20
- package/docs/.vuepress/dist/assets/css/0.styles.7cfabf05.css +0 -1
- package/docs/.vuepress/dist/assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png +0 -0
- package/docs/.vuepress/dist/assets/img/gateway.98d6c8ec.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/mysql_images.07b3a3e5.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/nacos.741b050d.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/rabbitmq.50b12be7.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/redis_images.f0979945.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/search.83621669.svg +0 -1
- package/docs/.vuepress/dist/assets/img/server-structure.6e0aa81e.png +0 -0
- package/docs/.vuepress/dist/assets/js/10.285f55d1.js +0 -1
- package/docs/.vuepress/dist/assets/js/11.decff412.js +0 -1
- package/docs/.vuepress/dist/assets/js/12.b9ed6e21.js +0 -1
- package/docs/.vuepress/dist/assets/js/13.d9c8c7a9.js +0 -1
- package/docs/.vuepress/dist/assets/js/14.6495a0e6.js +0 -1
- package/docs/.vuepress/dist/assets/js/15.70d64d1a.js +0 -1
- package/docs/.vuepress/dist/assets/js/16.a93c018c.js +0 -1
- package/docs/.vuepress/dist/assets/js/17.ed91eb16.js +0 -1
- package/docs/.vuepress/dist/assets/js/18.d07cd593.js +0 -1
- package/docs/.vuepress/dist/assets/js/19.4b8a0f22.js +0 -1
- package/docs/.vuepress/dist/assets/js/2.2668fa1b.js +0 -1
- package/docs/.vuepress/dist/assets/js/20.52de9326.js +0 -1
- package/docs/.vuepress/dist/assets/js/21.2293a5ca.js +0 -1
- package/docs/.vuepress/dist/assets/js/3.fd22fded.js +0 -1
- package/docs/.vuepress/dist/assets/js/4.ad26b2fa.js +0 -1
- package/docs/.vuepress/dist/assets/js/5.a1c97bcb.js +0 -1
- package/docs/.vuepress/dist/assets/js/6.32f67120.js +0 -1
- package/docs/.vuepress/dist/assets/js/7.99161716.js +0 -1
- package/docs/.vuepress/dist/assets/js/8.a0d65864.js +0 -1
- package/docs/.vuepress/dist/assets/js/9.2d06e692.js +0 -1
- package/docs/.vuepress/dist/assets/js/app.0be82e56.js +0 -15
- package/docs/.vuepress/dist/config/config_list.html +0 -58
- package/docs/.vuepress/dist/config/index.html +0 -69
- package/docs/.vuepress/dist/guide/admin.html +0 -26
- package/docs/.vuepress/dist/guide/deepchange.html +0 -213
- package/docs/.vuepress/dist/guide/gateway.html +0 -45
- package/docs/.vuepress/dist/guide/hystrix.html +0 -26
- package/docs/.vuepress/dist/guide/index.html +0 -66
- package/docs/.vuepress/dist/guide/nacos.html +0 -26
- package/docs/.vuepress/dist/guide/opsdev.html +0 -26
- package/docs/.vuepress/dist/guide/rabbitmq.html +0 -26
- package/docs/.vuepress/dist/guide/skywarking.html +0 -52
- package/docs/.vuepress/dist/guide/summary.html +0 -74
- package/docs/.vuepress/dist/help/index.html +0 -28
- package/docs/.vuepress/dist/help/markdown.html +0 -33
- package/docs/.vuepress/dist/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
- package/docs/.vuepress/dist/images/gateway.jpg +0 -0
- package/docs/.vuepress/dist/images/mysql_images.jpg +0 -0
- package/docs/.vuepress/dist/images/nacos.jpg +0 -0
- package/docs/.vuepress/dist/images/rabbitmq.jpg +0 -0
- package/docs/.vuepress/dist/images/redis_images.jpg +0 -0
- package/docs/.vuepress/dist/images/server-structure.png +0 -0
- package/docs/.vuepress/dist/index.html +0 -26
- package/docs/.vuepress/dist/logo.jpg +0 -0
- package/docs/.vuepress/nav.js +0 -34
- package/docs/.vuepress/public/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
- package/docs/.vuepress/public/images/gateway.jpg +0 -0
- package/docs/.vuepress/public/images/mysql_images.jpg +0 -0
- package/docs/.vuepress/public/images/nacos.jpg +0 -0
- package/docs/.vuepress/public/images/rabbitmq.jpg +0 -0
- package/docs/.vuepress/public/images/redis_images.jpg +0 -0
- package/docs/.vuepress/public/images/server-structure.png +0 -0
- package/docs/.vuepress/public/logo.jpg +0 -0
- package/docs/.vuepress/sidebar.js +0 -62
- package/docs/README.md +0 -15
- package/docs/config/README.md +0 -108
- package/docs/config/config_list.md +0 -42
- package/docs/guide/README.md +0 -79
- package/docs/guide/admin.md +0 -25
- package/docs/guide/deepchange.md +0 -393
- package/docs/guide/gateway.md +0 -40
- package/docs/guide/hystrix.md +0 -21
- package/docs/guide/nacos.md +0 -7
- package/docs/guide/opsdev.md +0 -12
- package/docs/guide/rabbitmq.md +0 -15
- package/docs/guide/skywarking.md +0 -77
- package/docs/guide/summary.md +0 -120
- package/docs/help/README.md +0 -29
- package/docs/help/markdown.md +0 -165
- package/examples/App.vue +0 -21
- package/examples/assets/css/map-base.scss +0 -333
- package/examples/assets/fonts/pmzd.ttf +0 -0
- package/examples/assets/icons/index.js +0 -9
- package/examples/assets/icons/svg/404.svg +0 -1
- package/examples/assets/icons/svg/bug.svg +0 -1
- package/examples/assets/icons/svg/build.svg +0 -1
- package/examples/assets/icons/svg/button.svg +0 -1
- package/examples/assets/icons/svg/cascader.svg +0 -1
- package/examples/assets/icons/svg/chart.svg +0 -1
- package/examples/assets/icons/svg/checkbox.svg +0 -1
- package/examples/assets/icons/svg/clipboard.svg +0 -1
- package/examples/assets/icons/svg/code.svg +0 -1
- package/examples/assets/icons/svg/color.svg +0 -1
- package/examples/assets/icons/svg/component.svg +0 -1
- package/examples/assets/icons/svg/dashboard.svg +0 -1
- package/examples/assets/icons/svg/date-range.svg +0 -1
- package/examples/assets/icons/svg/date.svg +0 -1
- package/examples/assets/icons/svg/dict.svg +0 -1
- package/examples/assets/icons/svg/documentation.svg +0 -1
- package/examples/assets/icons/svg/download.svg +0 -1
- package/examples/assets/icons/svg/drag.svg +0 -1
- package/examples/assets/icons/svg/druid.svg +0 -1
- package/examples/assets/icons/svg/edit.svg +0 -1
- package/examples/assets/icons/svg/education.svg +0 -1
- package/examples/assets/icons/svg/email.svg +0 -1
- package/examples/assets/icons/svg/example.svg +0 -1
- package/examples/assets/icons/svg/excel.svg +0 -1
- package/examples/assets/icons/svg/exit-fullscreen.svg +0 -1
- package/examples/assets/icons/svg/eye-open.svg +0 -1
- package/examples/assets/icons/svg/eye.svg +0 -1
- package/examples/assets/icons/svg/form.svg +0 -1
- package/examples/assets/icons/svg/fullscreen.svg +0 -1
- package/examples/assets/icons/svg/github.svg +0 -1
- package/examples/assets/icons/svg/guide.svg +0 -1
- package/examples/assets/icons/svg/icon.svg +0 -1
- package/examples/assets/icons/svg/input.svg +0 -1
- package/examples/assets/icons/svg/international.svg +0 -1
- package/examples/assets/icons/svg/job.svg +0 -1
- package/examples/assets/icons/svg/language.svg +0 -1
- package/examples/assets/icons/svg/link.svg +0 -1
- package/examples/assets/icons/svg/list.svg +0 -1
- package/examples/assets/icons/svg/lock.svg +0 -1
- package/examples/assets/icons/svg/log.svg +0 -1
- package/examples/assets/icons/svg/logininfor.svg +0 -1
- package/examples/assets/icons/svg/message.svg +0 -1
- package/examples/assets/icons/svg/money.svg +0 -1
- package/examples/assets/icons/svg/monitor.svg +0 -2
- package/examples/assets/icons/svg/nested.svg +0 -1
- package/examples/assets/icons/svg/number.svg +0 -1
- package/examples/assets/icons/svg/online.svg +0 -1
- package/examples/assets/icons/svg/password.svg +0 -1
- package/examples/assets/icons/svg/pdf.svg +0 -1
- package/examples/assets/icons/svg/people.svg +0 -1
- package/examples/assets/icons/svg/peoples.svg +0 -1
- package/examples/assets/icons/svg/phone.svg +0 -1
- package/examples/assets/icons/svg/post.svg +0 -1
- package/examples/assets/icons/svg/qq.svg +0 -1
- package/examples/assets/icons/svg/question.svg +0 -1
- package/examples/assets/icons/svg/radio.svg +0 -1
- package/examples/assets/icons/svg/rate.svg +0 -1
- package/examples/assets/icons/svg/redis.svg +0 -1
- package/examples/assets/icons/svg/row.svg +0 -1
- package/examples/assets/icons/svg/search.svg +0 -1
- package/examples/assets/icons/svg/select.svg +0 -1
- package/examples/assets/icons/svg/server.svg +0 -1
- package/examples/assets/icons/svg/shopping.svg +0 -1
- package/examples/assets/icons/svg/size.svg +0 -1
- package/examples/assets/icons/svg/skill.svg +0 -1
- package/examples/assets/icons/svg/slider.svg +0 -1
- package/examples/assets/icons/svg/star.svg +0 -1
- package/examples/assets/icons/svg/swagger.svg +0 -1
- package/examples/assets/icons/svg/switch.svg +0 -1
- package/examples/assets/icons/svg/system.svg +0 -2
- package/examples/assets/icons/svg/tab.svg +0 -1
- package/examples/assets/icons/svg/table.svg +0 -1
- package/examples/assets/icons/svg/textarea.svg +0 -1
- package/examples/assets/icons/svg/theme.svg +0 -1
- package/examples/assets/icons/svg/time-range.svg +0 -1
- package/examples/assets/icons/svg/time.svg +0 -1
- package/examples/assets/icons/svg/tool.svg +0 -1
- package/examples/assets/icons/svg/tree-table.svg +0 -1
- package/examples/assets/icons/svg/tree.svg +0 -1
- package/examples/assets/icons/svg/turn-right.svg +0 -1
- package/examples/assets/icons/svg/upload.svg +0 -1
- package/examples/assets/icons/svg/user.svg +0 -1
- package/examples/assets/icons/svg/validCode.svg +0 -1
- package/examples/assets/icons/svg/wechat.svg +0 -1
- package/examples/assets/icons/svg/zip.svg +0 -1
- package/examples/assets/icons/svgo.yml +0 -22
- package/examples/assets/images/close_diago.png +0 -0
- package/examples/assets/images/red_circle.png +0 -0
- package/examples/assets/images/w_mj_map.png +0 -0
- package/examples/assets/images/warehouse_map_popup.png +0 -0
- package/examples/assets/images/warehouse_map_success.png +0 -0
- package/examples/assets/images/warehouse_map_warning.png +0 -0
- package/examples/assets/js/gps.js +0 -222
- package/examples/assets/logo.png +0 -0
- package/examples/components/HelloWorld.vue +0 -273
- package/examples/components/MapPopup.vue +0 -80
- package/examples/data/510000.js +0 -2056
- package/examples/data/510000.json +0 -2055
- package/examples/data/testData.js +0 -2088
- package/examples/main.js +0 -28
- package/examples/utils/echarts/esresize.js +0 -110
- package/jsconfig.json +0 -19
- package/vue.config.js +0 -54
- package/vue2-openlayers/package.json +0 -56
- /package/{vue2-openlayers/demo.html → demo.html} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.common.js → vue2-openlayers.common.js} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.common.js.map → vue2-openlayers.common.js.map} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.css → vue2-openlayers.css} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.umd.js → vue2-openlayers.umd.js} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.umd.js.map → vue2-openlayers.umd.js.map} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.umd.min.js → vue2-openlayers.umd.min.js} +0 -0
- /package/{vue2-openlayers/vue2-openlayers.umd.min.js.map → vue2-openlayers.umd.min.js.map} +0 -0
package/examples/main.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import App from './App.vue'
|
3
|
-
import VueOpenlayers from './../packages/index'
|
4
|
-
import * as echarts from 'echarts';
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
// Vue.prototype.$numeral = require('numeral');
|
9
|
-
// Vue.prototype.parseTime = parseTime;
|
10
|
-
|
11
|
-
Vue.use(VueOpenlayers);
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
// 创建一个事件总线
|
16
|
-
|
17
|
-
let bus = new Vue();
|
18
|
-
Vue.prototype.$bus = bus;
|
19
|
-
window.bus = bus;
|
20
|
-
|
21
|
-
// 全局方法挂载
|
22
|
-
Vue.prototype.$echarts = echarts;
|
23
|
-
|
24
|
-
Vue.config.productionTip = false
|
25
|
-
|
26
|
-
new Vue({
|
27
|
-
render: h => h(App),
|
28
|
-
}).$mount('#app')
|
@@ -1,110 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
// echarts 图表适配
|
4
|
-
|
5
|
-
|
6
|
-
var EleResize = {
|
7
|
-
_handleResize: function (e) {
|
8
|
-
var ele = e.target || e.srcElement
|
9
|
-
var trigger = ele.__resizeTrigger__
|
10
|
-
if (trigger) {
|
11
|
-
var handlers = trigger.__z_resizeListeners
|
12
|
-
if (handlers) {
|
13
|
-
var size = handlers.length
|
14
|
-
for (var i = 0; i < size; i++) {
|
15
|
-
var h = handlers[i]
|
16
|
-
var handler = h.handler
|
17
|
-
var context = h.context
|
18
|
-
handler.apply(context, [e])
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
|
-
_removeHandler: function (ele, handler, context) {
|
24
|
-
var handlers = ele.__z_resizeListeners
|
25
|
-
if (handlers) {
|
26
|
-
var size = handlers.length
|
27
|
-
for (var i = 0; i < size; i++) {
|
28
|
-
var h = handlers[i]
|
29
|
-
if (h.handler === handler && h.context === context) {
|
30
|
-
handlers.splice(i, 1)
|
31
|
-
return
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
},
|
36
|
-
_createResizeTrigger: function (ele) {
|
37
|
-
var obj = document.createElement('object')
|
38
|
-
obj.setAttribute('style',
|
39
|
-
'display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden;opacity: 0; pointer-events: none; z-index: -1;')
|
40
|
-
obj.onload = EleResize._handleObjectLoad
|
41
|
-
obj.type = 'text/html'
|
42
|
-
ele.appendChild(obj)
|
43
|
-
obj.data = 'about:blank'
|
44
|
-
return obj
|
45
|
-
},
|
46
|
-
_handleObjectLoad: function () {
|
47
|
-
this.contentDocument.defaultView.__resizeTrigger__ = this.__resizeElement__
|
48
|
-
this.contentDocument.defaultView.addEventListener('resize', EleResize._handleResize)
|
49
|
-
}
|
50
|
-
}
|
51
|
-
if (document.attachEvent) { // ie9-10
|
52
|
-
EleResize.on = function (ele, handler, context) {
|
53
|
-
var handlers = ele.__z_resizeListeners
|
54
|
-
if (!handlers) {
|
55
|
-
handlers = []
|
56
|
-
ele.__z_resizeListeners = handlers
|
57
|
-
ele.__resizeTrigger__ = ele
|
58
|
-
ele.attachEvent('onresize', EleResize._handleResize)
|
59
|
-
}
|
60
|
-
handlers.push({
|
61
|
-
handler: handler,
|
62
|
-
context: context
|
63
|
-
})
|
64
|
-
}
|
65
|
-
EleResize.off = function (ele, handler, context) {
|
66
|
-
var handlers = ele.__z_resizeListeners
|
67
|
-
if (handlers) {
|
68
|
-
EleResize._removeHandler(ele, handler, context)
|
69
|
-
if (handlers.length === 0) {
|
70
|
-
ele.detachEvent('onresize', EleResize._handleResize)
|
71
|
-
delete ele.__z_resizeListeners
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
} else {
|
76
|
-
EleResize.on = function (ele, handler, context) {
|
77
|
-
var handlers = ele.__z_resizeListeners
|
78
|
-
if (!handlers) {
|
79
|
-
handlers = []
|
80
|
-
ele.__z_resizeListeners = handlers
|
81
|
-
|
82
|
-
if (getComputedStyle(ele, null).position === 'static') {
|
83
|
-
ele.style.position = 'relative'
|
84
|
-
}
|
85
|
-
var obj = EleResize._createResizeTrigger(ele)
|
86
|
-
ele.__resizeTrigger__ = obj
|
87
|
-
obj.__resizeElement__ = ele
|
88
|
-
}
|
89
|
-
handlers.push({
|
90
|
-
handler: handler,
|
91
|
-
context: context
|
92
|
-
})
|
93
|
-
}
|
94
|
-
EleResize.off = function (ele, handler, context) {
|
95
|
-
var handlers = ele.__z_resizeListeners
|
96
|
-
if (handlers) {
|
97
|
-
EleResize._removeHandler(ele, handler, context)
|
98
|
-
if (handlers.length === 0) {
|
99
|
-
var trigger = ele.__resizeTrigger__
|
100
|
-
if (trigger) {
|
101
|
-
trigger.contentDocument.defaultView.removeEventListener('resize', EleResize._handleResize)
|
102
|
-
ele.removeChild(trigger)
|
103
|
-
delete ele.__resizeTrigger__
|
104
|
-
}
|
105
|
-
delete ele.__z_resizeListeners
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
export {EleResize}
|
package/jsconfig.json
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "es5",
|
4
|
-
"module": "esnext",
|
5
|
-
"baseUrl": "./",
|
6
|
-
"moduleResolution": "node",
|
7
|
-
"paths": {
|
8
|
-
"@/*": [
|
9
|
-
"examples/*"
|
10
|
-
]
|
11
|
-
},
|
12
|
-
"lib": [
|
13
|
-
"esnext",
|
14
|
-
"dom",
|
15
|
-
"dom.iterable",
|
16
|
-
"scripthost"
|
17
|
-
]
|
18
|
-
}
|
19
|
-
}
|
package/vue.config.js
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
'use strict'
|
2
|
-
|
3
|
-
const path = require('path')
|
4
|
-
|
5
|
-
const px2rem = require('postcss-pxtorem');
|
6
|
-
const postcss = px2rem({
|
7
|
-
rootValue: 100,
|
8
|
-
propList: ['*'],
|
9
|
-
selectorBlackList: ['.echarts'] // 排除.echarts选择器
|
10
|
-
});
|
11
|
-
|
12
|
-
function resolve(dir) {
|
13
|
-
return path.join(__dirname, dir)
|
14
|
-
}
|
15
|
-
module.exports = {
|
16
|
-
devServer: {
|
17
|
-
proxy: {
|
18
|
-
'/file': {
|
19
|
-
target: 'http://8.137.153.28:33660', // 你想要请求的服务器地址
|
20
|
-
changeOrigin: true, // 是否改变源地址
|
21
|
-
pathRewrite: {
|
22
|
-
'^/api': '' // 重写路径,去掉 /api
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
},
|
27
|
-
lintOnSave: true,
|
28
|
-
css: {
|
29
|
-
loaderOptions: {
|
30
|
-
postcss: {
|
31
|
-
postcssOptions: {
|
32
|
-
// exclude: /node_modules|ECharts.css/, // 排除 node_modules 目录下的文件和 ECharts.css 文件
|
33
|
-
plugins: [
|
34
|
-
postcss
|
35
|
-
]
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
39
|
-
},
|
40
|
-
// 修改 src 为 examples
|
41
|
-
pages: {
|
42
|
-
index: {
|
43
|
-
entry: "examples/main.js",
|
44
|
-
template: "public/index.html",
|
45
|
-
filename: "index.html"
|
46
|
-
}
|
47
|
-
},
|
48
|
-
// 扩展 webpack 配置,使 packages 加入编译
|
49
|
-
chainWebpack: config => {
|
50
|
-
config.resolve.alias
|
51
|
-
.set('@', resolve('examples'))
|
52
|
-
.set('~', resolve('packages'))
|
53
|
-
}
|
54
|
-
};
|
@@ -1,56 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "vue2-openlayers",
|
3
|
-
"version": "0.1.3",
|
4
|
-
"private": false,
|
5
|
-
"main": "index.js",
|
6
|
-
"scripts": {
|
7
|
-
"dev": "vue-cli-service serve",
|
8
|
-
"build": "vue-cli-service build",
|
9
|
-
"lint": "vue-cli-service lint",
|
10
|
-
"docs:dev": "vuepress dev docs",
|
11
|
-
"docs:build": "vuepress build docs",
|
12
|
-
"lib": "vue-cli-service build --target lib ./packages/index.js --name vue2-openlayers --dest vue2-openlayers && npm run lib-init",
|
13
|
-
"lib-init": "node -e \"const pkg = require('./package.json'); require('fs').writeFileSync('./vue2-openlayers/package.json', JSON.stringify(Object.assign({}, pkg, { version: pkg.version }), null, 2))\""
|
14
|
-
},
|
15
|
-
"dependencies": {
|
16
|
-
"@turf/turf": "^7.0.0",
|
17
|
-
"core-js": "^3.8.3",
|
18
|
-
"ol": "^9.2.4",
|
19
|
-
"vue": "^2.6.14"
|
20
|
-
},
|
21
|
-
"devDependencies": {
|
22
|
-
"@babel/core": "^7.12.16",
|
23
|
-
"@babel/eslint-parser": "^7.12.16",
|
24
|
-
"@vue/cli-plugin-babel": "~5.0.0",
|
25
|
-
"@vue/cli-plugin-eslint": "~5.0.0",
|
26
|
-
"@vue/cli-service": "~5.0.0",
|
27
|
-
"eslint": "^7.32.0",
|
28
|
-
"eslint-plugin-vue": "^8.0.3",
|
29
|
-
"postcss-pxtorem": "^6.1.0",
|
30
|
-
"vue-template-compiler": "^2.6.14",
|
31
|
-
"vuepress": "^1.9.10",
|
32
|
-
"echarts": "4.9.0",
|
33
|
-
"px2rem-loader": "^0.1.9",
|
34
|
-
"sass": "^1.43.4",
|
35
|
-
"sass-loader": "^14.2.1"
|
36
|
-
},
|
37
|
-
"eslintConfig": {
|
38
|
-
"root": true,
|
39
|
-
"env": {
|
40
|
-
"node": true
|
41
|
-
},
|
42
|
-
"extends": [
|
43
|
-
"plugin:vue/essential",
|
44
|
-
"eslint:recommended"
|
45
|
-
],
|
46
|
-
"parserOptions": {
|
47
|
-
"parser": "@babel/eslint-parser"
|
48
|
-
},
|
49
|
-
"rules": {}
|
50
|
-
},
|
51
|
-
"browserslist": [
|
52
|
-
"> 1%",
|
53
|
-
"last 2 versions",
|
54
|
-
"not dead"
|
55
|
-
]
|
56
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|