address-client 4.0.1 → 4.0.2-yunChengV4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/.gradle/8.5/checksums/checksums.lock +0 -0
  2. package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/8.5/fileChanges/last-build.bin +0 -0
  7. package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/8.5/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  12. package/.gradle/file-system.probe +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/CHANGELOG.md +15 -15
  15. package/build/dev-server.js +162 -185
  16. package/build/webpack.base.conf.js +82 -82
  17. package/examples/showAdd/App.vue +40 -40
  18. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  19. package/gradle/wrapper/gradle-wrapper.properties +7 -0
  20. package/gradlew +249 -0
  21. package/gradlew.bat +92 -0
  22. package/index.html +44 -44
  23. package/package.json +101 -101
  24. package/src/address.js +57 -74
  25. package/src/components/AddAreaMsg.vue +743 -757
  26. package/src/components/AddStreetOrPcd.vue +320 -316
  27. package/src/components/AddressAddAddress.vue +479 -479
  28. package/src/components/AddressFiles.vue +156 -156
  29. package/src/components/AddressList.vue +630 -637
  30. package/src/components/AddressManage.vue +117 -117
  31. package/src/components/AddressTree.vue +501 -501
  32. package/src/components/AreaFiles.vue +73 -73
  33. package/src/components/AreaList.vue +410 -410
  34. package/src/components/AreaManage.vue +100 -104
  35. package/src/components/AreaTree.vue +508 -508
  36. package/src/components/Basch.vue +72 -72
  37. package/src/components/BatchOrders.vue +328 -328
  38. package/src/components/BuildingList.vue +129 -129
  39. package/src/components/CityList.vue +133 -134
  40. package/src/components/CityManage.vue +76 -76
  41. package/src/components/NewAddressInfo.vue +432 -432
  42. package/src/components/StreetList.vue +240 -241
  43. package/src/components/UserAddress.vue +894 -907
  44. package/src/components/UserAddressChange.vue +58 -58
  45. package/src/components/selectAddress/BatchList.vue +326 -326
  46. package/src/filiale/WEINAN/AddAreaMsg.vue +679 -745
  47. package/src/filiale/WEINAN/AddressList.vue +588 -588
  48. package/src/filiale/WEINAN/AddressManage.vue +122 -122
  49. package/src/filiale/WEINAN/AreaList.vue +390 -435
  50. package/src/filiale/WEINAN/UserAddress.vue +783 -783
  51. package/src/filiale/WEINAN/sale.js +16 -18
  52. package/src/filiale/chengtou/UserAddress.vue +894 -894
  53. package/src/filiale/chengtou/sale.js +7 -7
  54. package/src/filiale/dongguan/AddStreetOrPcd.vue +422 -422
  55. package/src/filiale/dongguan/sale.js +7 -7
  56. package/src/filiale/gaomi/AddressList.vue +430 -430
  57. package/src/filiale/gaomi/UserAddress.vue +832 -832
  58. package/src/filiale/gaomi/sale.js +14 -14
  59. package/src/filiale/gongyi/AddAreaMsg.vue +651 -651
  60. package/src/filiale/gongyi/AreaManage.vue +100 -100
  61. package/src/filiale/gongyi/UserAddress.vue +751 -751
  62. package/src/filiale/gongyi/sale.js +14 -14
  63. package/src/filiale/jingwei/UserAddress.vue +764 -764
  64. package/src/filiale/jingwei/sale.js +12 -12
  65. package/src/filiale/macheng/AddAreaMsg.vue +635 -635
  66. package/src/filiale/macheng/AddStreetOrPcd.vue +231 -231
  67. package/src/filiale/macheng/AddressList.vue +613 -613
  68. package/src/filiale/macheng/AreaList.vue +318 -318
  69. package/src/filiale/macheng/CityManage.vue +76 -76
  70. package/src/filiale/macheng/StreetList.vue +186 -186
  71. package/src/filiale/macheng/UserAddress.vue +743 -743
  72. package/src/filiale/macheng/sale.js +17 -17
  73. package/src/filiale/qianneng/AddAreaMsg.vue +751 -755
  74. package/src/filiale/qianneng/AddStreetOrPcd.vue +328 -328
  75. package/src/filiale/qianneng/AddressList.vue +638 -638
  76. package/src/filiale/qianneng/AreaList.vue +431 -431
  77. package/src/filiale/qianneng/CityManage.vue +81 -81
  78. package/src/filiale/qianneng/UserAddress.vue +1106 -1125
  79. package/src/filiale/qianneng/sale.js +20 -20
  80. package/src/filiale/qinhua/AddAreaMsg.vue +743 -743
  81. package/src/filiale/qinhua/AddressList.vue +629 -627
  82. package/src/filiale/qinhua/AddressManage.vue +117 -117
  83. package/src/filiale/qinhua/AreaList.vue +432 -425
  84. package/src/filiale/qinhua/AreaManage.vue +100 -100
  85. package/src/filiale/qinhua/CityManage.vue +76 -76
  86. package/src/filiale/qinhua/StreetList.vue +240 -241
  87. package/src/filiale/qinhua/UserAddress.vue +894 -894
  88. package/src/filiale/qinhua/sale.js +20 -20
  89. package/src/filiale/rongcheng/AddressList.vue +363 -363
  90. package/src/filiale/rongcheng/UserAddress.vue +799 -799
  91. package/src/filiale/rongcheng/sale.js +11 -11
  92. package/src/filiale/shanggao/AddAreaMsg.vue +752 -752
  93. package/src/filiale/shanggao/AddStreetOrPcd.vue +312 -312
  94. package/src/filiale/shanggao/AddressList.vue +613 -613
  95. package/src/filiale/shanggao/AreaList.vue +436 -436
  96. package/src/filiale/shanggao/BuildingList.vue +129 -129
  97. package/src/filiale/shanggao/StreetList.vue +240 -240
  98. package/src/filiale/shanggao/UserAddress.vue +953 -953
  99. package/src/filiale/shanggao/sale.js +16 -16
  100. package/src/filiale/shanxian/AddAreaMsg.vue +766 -766
  101. package/src/filiale/shanxian/AddressList.vue +630 -658
  102. package/src/filiale/shanxian/AreaList.vue +435 -458
  103. package/src/filiale/shanxian/AreaManage.vue +107 -107
  104. package/src/filiale/shanxian/UserAddress.vue +894 -900
  105. package/src/filiale/shanxian/sale.js +15 -15
  106. package/src/filiale/shaoguan/AddAreaMsg.vue +629 -629
  107. package/src/filiale/shaoguan/UserAddress.vue +762 -762
  108. package/src/filiale/shaoguan/sale.js +11 -11
  109. package/src/filiale/tongchuan/AddAreaMsg.vue +635 -635
  110. package/src/filiale/tongchuan/AddStreetOrPcd.vue +308 -351
  111. package/src/filiale/tongchuan/AddressList.vue +379 -379
  112. package/src/filiale/tongchuan/AreaList.vue +315 -315
  113. package/src/filiale/tongchuan/AreaManage.vue +100 -100
  114. package/src/filiale/tongchuan/CityList.vue +133 -133
  115. package/src/filiale/tongchuan/StreetList.vue +208 -215
  116. package/src/filiale/tongchuan/UserAddress.vue +822 -822
  117. package/src/filiale/tongchuan/sale.js +19 -19
  118. package/src/filiale/wuhai/UserAddress.vue +795 -795
  119. package/src/filiale/wuhai/sale.js +12 -12
  120. package/src/filiale/zhongsheng/AddressList.vue +671 -671
  121. package/src/filiale/zhongsheng/AreaList.vue +500 -500
  122. package/src/filiale/zhongsheng/sale.js +12 -12
  123. package/src/filiale/zhongyi/AddAreaMsg.vue +757 -757
  124. package/src/filiale/zhongyi/sale.js +12 -12
  125. package/src/filiale/zhoukou/AddAreaMsg.vue +673 -673
  126. package/src/filiale/zhoukou/AddressList.vue +391 -391
  127. package/src/filiale/zhoukou/AddressManage.vue +115 -115
  128. package/src/filiale/zhoukou/AreaList.vue +319 -319
  129. package/src/filiale/zhoukou/AreaManage.vue +100 -100
  130. package/src/filiale/zhoukou/UserAddress.vue +925 -925
  131. package/src/filiale/zhoukou/sale.js +23 -23
  132. package/src/main.js +23 -23
  133. package/build/versionCheck.js +0 -31
  134. package/src/components/AddCommunityManageMsg.vue +0 -220
  135. package/src/components/AddStreetManageMsg.vue +0 -204
  136. package/src/components/AddressListLiuLi.vue +0 -17
  137. package/src/components/CommunityAreaList.vue +0 -87
  138. package/src/components/CommunityManage.vue +0 -78
  139. package/src/components/CommunityManageList.vue +0 -244
  140. package/src/components/StreetManage.vue +0 -68
  141. package/src/components/StreetManageList.vue +0 -225
  142. package/src/filiale/WEINAN/AreaManage.vue +0 -109
  143. package/src/filiale/WEINAN/AreaUserList.vue +0 -226
  144. package/src/filiale/haile/AddressList.vue +0 -615
  145. package/src/filiale/haile/sale.js +0 -8
  146. package/src/filiale/lixianV3/AreaList.vue +0 -416
  147. package/src/filiale/lixianV3/sale.js +0 -12
  148. package/src/filiale/meihekou/UserAddress.vue +0 -898
  149. package/src/filiale/meihekou/sale.js +0 -8
  150. package/src/filiale/rizhao/UserAddress.vue +0 -897
  151. package/src/filiale/rizhao/sale.js +0 -8
  152. package/src/filiale/xihu/AreaList.vue +0 -409
  153. package/src/filiale/xihu/StreetList.vue +0 -238
  154. package/src/filiale/xihu/sale.js +0 -14
  155. package/src/filiale/xinkang/AddAreaMsg.vue +0 -780
  156. package/src/filiale/xinkang/AreaList.vue +0 -413
  157. package/src/filiale/xinkang/sale.js +0 -9
  158. package/src/filiale/yangchun/AddAreaMsg.vue +0 -764
  159. package/src/filiale/yangchun/sale.js +0 -7
File without changes
@@ -1,2 +1,2 @@
1
- #Mon Dec 07 15:35:10 CST 2020
2
- gradle.version=5.2.1
1
+ #Mon Dec 07 15:35:10 CST 2020
2
+ gradle.version=5.2.1
Binary file
File without changes
package/CHANGELOG.md CHANGED
@@ -1,15 +1,15 @@
1
- # Change Log
2
- 所有关于本产品的变化都在该文档里。
3
-
4
- ## 3.0.24-2020-10-15 @张科科
5
- --地址管理 特殊建档 增加小区选择
6
-
7
- ## 1.3.2-2018-11-12 @刘江涛
8
- - 地址查询修改
9
-
10
- ## 1.3.1-2018-11-11 @何宁社
11
- - 地址管理完成
12
- - 地址查询完成
13
-
14
- ## 1.2.0-2018-11-11 @何宁社
15
- - 删除样式
1
+ # Change Log
2
+ 所有关于本产品的变化都在该文档里。
3
+
4
+ ## 3.0.24-2020-10-15 @张科科
5
+ --地址管理 特殊建档 增加小区选择
6
+
7
+ ## 1.3.2-2018-11-12 @刘江涛
8
+ - 地址查询修改
9
+
10
+ ## 1.3.1-2018-11-11 @何宁社
11
+ - 地址管理完成
12
+ - 地址查询完成
13
+
14
+ ## 1.2.0-2018-11-11 @何宁社
15
+ - 删除样式
@@ -1,185 +1,162 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- var httpProxy = require('http-proxy')
6
- var checkVersion = require('./versionCheck.js')
7
- checkVersion()
8
- var app = express()
9
- var compiler = webpack(config)
10
- var proxy = httpProxy.createProxyServer()
11
-
12
- // Define HTTP proxies to your custom API backend
13
- // https://github.com/chimurai/http-proxy-middleware
14
- var str = 'http://192.168.50.4:8400', str2= 'http://192.168.50.4:8400'
15
- var str3= 'http://192.168.50.4:8400'
16
- var proxyTable = {
17
- '/api/af-auth': {
18
- target: str
19
- },
20
- '/api/af-system': {
21
- target: str
22
- },
23
- '/api/af-revenue': {
24
- pathRewrite: {'/api/af-revenue': '/'},
25
- target: 'http://127.0.0.1:9026'
26
- },
27
- '/rs/entity': {
28
- target: str
29
- // secure:true,
30
- // changeOrigin:true
31
- // target: 'http://127.0.0.1:8080'
32
- },
33
- '/webapps':{
34
- target: str3,
35
- secure:true,
36
- changeOrigin:true
37
- // target: 'http://127.0.0.1:8080'
38
- },
39
- '/rs/logic/getLogin': {
40
- target: str3,
41
- secure:true,
42
- changeOrigin:true
43
- },
44
- '/rs/logic/getInitData': {
45
- target: str3,
46
- secure:true,
47
- changeOrigin:true,
48
- },
49
- '/rs/logic/getSaleInitData': {
50
- target: str3,
51
- secure:true,
52
- changeOrigin:true
53
- },
54
- // '/rs/logic':{
55
- // target: str3,
56
- // secure:true,
57
- // changeOrigin:true
58
- // // target: 'http://127.0.0.1:8080'
59
- // },
60
- '/rs/vue': {
61
- target: str3,
62
- secure:true,
63
- changeOrigin:true
64
- },
65
- '/rs/user': {
66
- target: str3,
67
- secure:true,
68
- changeOrigin:true
69
- },
70
- '/rs/db': {
71
- target: str3,
72
- secure:true,
73
- changeOrigin:true
74
- },
75
- '/rs/search': {
76
- target: str3,
77
- secure:true,
78
- changeOrigin:true
79
- // target: 'http://127.0.0.1:8080'
80
- },
81
- '/rs/data': {
82
- target: str3,
83
- secure:true,
84
- changeOrigin:true
85
- },
86
- '/rs/sql': {
87
- target: str
88
- // secure: true,
89
- // changeOrigin:true
90
- // target: 'http://127.0.0.1:8080'
91
- },
92
- '/rs/logic': {
93
- target: str
94
- // secure: true,
95
- // changeOrigin:true
96
- // target: 'http://127.0.0.1:8080'
97
- },
98
- '/rs': {
99
- // target: 'http://192.168.50.199:8300'
100
- target: str3,
101
- secure:true,
102
- changeOrigin:true
103
- }
104
- }
105
-
106
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
107
- publicPath: config.output.publicPath,
108
- stats: {
109
- colors: true,
110
- chunks: false
111
- }
112
- })
113
-
114
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
115
- // force page reload when html-webpack-plugin template changes
116
- compiler.plugin('compilation', function (compilation) {
117
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
118
- hotMiddleware.publish({ action: 'reload' })
119
- cb()
120
- })
121
- })
122
-
123
- // proxy api requests
124
- Object.keys(proxyTable).forEach(function (context) {
125
- var options = proxyTable[context]
126
- if (typeof options === 'string') {
127
- options = { target: options }
128
- }
129
- app.use(proxyMiddleware(context, options))
130
- })
131
-
132
- // handle fallback for HTML5 history API
133
- app.use(require('connect-history-api-fallback')())
134
-
135
- // serve webpack bundle output
136
- app.use(devMiddleware)
137
-
138
- // enable hot-reload and state-preserving
139
- // compilation error display
140
- app.use(hotMiddleware)
141
-
142
- // serve pure static assets
143
- app.use('/static', express.static('./static'))
144
-
145
- // app.all('/rs/*', function (req, res) {
146
- // proxy.web(req, res, {
147
- // target: 'http://127.0.0.1:8081/reports'
148
- // })
149
- // })
150
-
151
- // app.all('/rs/*', function (req, res) {
152
- // proxy.web(req, res, {
153
- // target: 'http://127.0.0.1:8081/ldap'
154
- // })
155
- // })
156
- // app.all('/excel/*', function (req, res) {
157
- // proxy.web(req, res, {
158
- // target: 'http://127.0.0.1:8081/charge'
159
- // })
160
- // })
161
-
162
- // app.all('/rs/*', function (req, res) {
163
- // proxy.web(req, res, {
164
- // target: 'http://127.0.0.1:82/charge'
165
- // })
166
- // })
167
-
168
- // app.all('/*', function (req, res) {
169
- // proxy.web(req, res, {
170
- // target: 'http://127.0.0.1:82'
171
- // })
172
- // })
173
- // app.all('/rs/user', function (req, res) {
174
- // proxy.web(req, res, {
175
- // target: 'http://127.0.0.1:82'
176
- // })
177
- // })
178
-
179
- module.exports = app.listen(8085, function (err) {
180
- if (err) {
181
- console.log(err)
182
- return
183
- }
184
- console.log('Listening at http://localhost:8085')
185
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var str = 'http://127.0.0.1:8078', str2= 'http://192.168.50.4:8400/'
14
+ var str3= 'http://192.168.50.4:8400/'
15
+ var proxyTable = {
16
+ '/rs/sql':{
17
+ target: str3,
18
+ secure:true,
19
+ changeOrigin:true
20
+ // target: 'http://127.0.0.1:8080'
21
+ },
22
+ '/webapps':{
23
+ target: str3,
24
+ secure:true,
25
+ changeOrigin:true
26
+ // target: 'http://127.0.0.1:8080'
27
+ },
28
+ '/rs/logic/getLogin': {
29
+ target: str3,
30
+ secure:true,
31
+ changeOrigin:true
32
+ },
33
+ '/rs/logic/getInitData': {
34
+ target: str3,
35
+ secure:true,
36
+ changeOrigin:true,
37
+ },
38
+ '/rs/logic/getSaleInitData': {
39
+ target: str3,
40
+ secure:true,
41
+ changeOrigin:true
42
+ },
43
+ '/rs/logic':{
44
+ target: str3,
45
+ secure:true,
46
+ changeOrigin:true
47
+ // target: 'http://127.0.0.1:8080'
48
+ },
49
+ '/rs/vue': {
50
+ target: str3,
51
+ secure:true,
52
+ changeOrigin:true
53
+ },
54
+ '/rs/user': {
55
+ target: str3,
56
+ secure:true,
57
+ changeOrigin:true
58
+ },
59
+ '/rs/db': {
60
+ target: str3,
61
+ secure:true,
62
+ changeOrigin:true
63
+ },
64
+ '/rs/search': {
65
+ target: str3,
66
+ secure:true,
67
+ changeOrigin:true
68
+ // target: 'http://127.0.0.1:8080'
69
+ },
70
+ '/rs/data': {
71
+ target: str3,
72
+ secure:true,
73
+ changeOrigin:true
74
+ },
75
+ '/rs': {
76
+ // target: 'http://192.168.50.199:8300'
77
+ target: str3,
78
+ secure:true,
79
+ changeOrigin:true
80
+ }
81
+ }
82
+
83
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
84
+ publicPath: config.output.publicPath,
85
+ stats: {
86
+ colors: true,
87
+ chunks: false
88
+ }
89
+ })
90
+
91
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
92
+ // force page reload when html-webpack-plugin template changes
93
+ compiler.plugin('compilation', function (compilation) {
94
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
95
+ hotMiddleware.publish({ action: 'reload' })
96
+ cb()
97
+ })
98
+ })
99
+
100
+ // proxy api requests
101
+ Object.keys(proxyTable).forEach(function (context) {
102
+ var options = proxyTable[context]
103
+ if (typeof options === 'string') {
104
+ options = { target: options }
105
+ }
106
+ app.use(proxyMiddleware(context, options))
107
+ })
108
+
109
+ // handle fallback for HTML5 history API
110
+ app.use(require('connect-history-api-fallback')())
111
+
112
+ // serve webpack bundle output
113
+ app.use(devMiddleware)
114
+
115
+ // enable hot-reload and state-preserving
116
+ // compilation error display
117
+ app.use(hotMiddleware)
118
+
119
+ // serve pure static assets
120
+ app.use('/static', express.static('./static'))
121
+
122
+ // app.all('/rs/*', function (req, res) {
123
+ // proxy.web(req, res, {
124
+ // target: 'http://127.0.0.1:8081/reports'
125
+ // })
126
+ // })
127
+
128
+ // app.all('/rs/*', function (req, res) {
129
+ // proxy.web(req, res, {
130
+ // target: 'http://127.0.0.1:8081/ldap'
131
+ // })
132
+ // })
133
+ // app.all('/excel/*', function (req, res) {
134
+ // proxy.web(req, res, {
135
+ // target: 'http://127.0.0.1:8081/charge'
136
+ // })
137
+ // })
138
+
139
+ // app.all('/rs/*', function (req, res) {
140
+ // proxy.web(req, res, {
141
+ // target: 'http://127.0.0.1:82/charge'
142
+ // })
143
+ // })
144
+
145
+ // app.all('/*', function (req, res) {
146
+ // proxy.web(req, res, {
147
+ // target: 'http://127.0.0.1:82'
148
+ // })
149
+ // })
150
+ // app.all('/rs/user', function (req, res) {
151
+ // proxy.web(req, res, {
152
+ // target: 'http://127.0.0.1:82'
153
+ // })
154
+ // })
155
+
156
+ module.exports = app.listen(8085, function (err) {
157
+ if (err) {
158
+ console.log(err)
159
+ return
160
+ }
161
+ console.log('Listening at http://localhost:8085')
162
+ })
@@ -1,82 +1,82 @@
1
- var path = require('path')
2
- var cssLoaders = require('./css-loaders')
3
- var projectRoot = path.resolve(__dirname, '../')
4
- module.exports = {
5
- entry: {
6
- app: './src/main.js'
7
- },
8
- output: {
9
- path: path.resolve(__dirname, '../dist/static'),
10
- publicPath: 'static/',
11
- filename: '[name].js'
12
- },
13
- resolve: {
14
- extensions: ['', '.js', '.vue'],
15
- fallback: [path.join(__dirname, '../node_modules')],
16
- alias: {
17
- 'src': path.resolve(__dirname, '../src'),
18
- 'test': path.resolve(__dirname, '../test'),
19
- '@src': path.resolve('src')
20
- }
21
- },
22
- resolveLoader: {
23
- fallback: [path.join(__dirname, '../node_modules')]
24
- },
25
- module: {
26
- loaders: [
27
- {
28
- test: /\.vue$/,
29
- loader: 'vue'
30
- },
31
- {
32
- test: /\.js$/,
33
- loader: 'babel',
34
- include: [
35
- `${projectRoot}\\src`,
36
- `${projectRoot}\\build`,
37
- `${projectRoot}\\examples`,
38
- `${projectRoot}\\test`,
39
- `${projectRoot}\\node_modules\\vue-client\\src`,
40
- `${projectRoot}\\node_modules\\vue-strap\\src`,
41
- `${projectRoot}\\node_modules\\system-clients\\src`,
42
- `${projectRoot}\\node_modules\\ldap-clients\\src`,
43
- `${projectRoot}\\node_modules\\sale-client\\src`,
44
- ]
45
- },
46
- {
47
- test: /\.json$/,
48
- loader: 'json'
49
- },
50
- {
51
- test: /\.html$/,
52
- loader: 'vue-html'
53
- },
54
- {
55
- test: /\.less$/,
56
- loader: 'style!css!less'
57
- },
58
- {
59
- test: /\.css$/,
60
- loader: 'style!css'
61
- },
62
- {
63
- test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
64
- loader: 'url',
65
- query: {
66
- limit: 10000,
67
- name: '[name].[ext]?[hash:7]'
68
- }
69
- }
70
- ]
71
- },
72
- vue: {
73
- loaders: cssLoaders({
74
- sourceMap: false,
75
- extract: false
76
- })
77
- },
78
- plugins: [],
79
- eslint: {
80
- formatter: require('eslint-friendly-formatter')
81
- }
82
- }
1
+ var path = require('path')
2
+ var cssLoaders = require('./css-loaders')
3
+ var projectRoot = path.resolve(__dirname, '../')
4
+ module.exports = {
5
+ entry: {
6
+ app: './src/main.js'
7
+ },
8
+ output: {
9
+ path: path.resolve(__dirname, '../dist/static'),
10
+ publicPath: 'static/',
11
+ filename: '[name].js'
12
+ },
13
+ resolve: {
14
+ extensions: ['', '.js', '.vue'],
15
+ fallback: [path.join(__dirname, '../node_modules')],
16
+ alias: {
17
+ 'src': path.resolve(__dirname, '../src'),
18
+ 'test': path.resolve(__dirname, '../test'),
19
+ '@src': path.resolve('src')
20
+ }
21
+ },
22
+ resolveLoader: {
23
+ fallback: [path.join(__dirname, '../node_modules')]
24
+ },
25
+ module: {
26
+ loaders: [
27
+ {
28
+ test: /\.vue$/,
29
+ loader: 'vue'
30
+ },
31
+ {
32
+ test: /\.js$/,
33
+ loader: 'babel',
34
+ include: [
35
+ `${projectRoot}\\src`,
36
+ `${projectRoot}\\build`,
37
+ `${projectRoot}\\examples`,
38
+ `${projectRoot}\\test`,
39
+ `${projectRoot}\\node_modules\\vue-client\\src`,
40
+ `${projectRoot}\\node_modules\\vue-strap\\src`,
41
+ `${projectRoot}\\node_modules\\system-clients\\src`,
42
+ `${projectRoot}\\node_modules\\ldap-clients\\src`,
43
+ `${projectRoot}\\node_modules\\sale-client\\src`,
44
+ ]
45
+ },
46
+ {
47
+ test: /\.json$/,
48
+ loader: 'json'
49
+ },
50
+ {
51
+ test: /\.html$/,
52
+ loader: 'vue-html'
53
+ },
54
+ {
55
+ test: /\.less$/,
56
+ loader: 'style!css!less'
57
+ },
58
+ {
59
+ test: /\.css$/,
60
+ loader: 'style!css'
61
+ },
62
+ {
63
+ test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
64
+ loader: 'url',
65
+ query: {
66
+ limit: 10000,
67
+ name: '[name].[ext]?[hash:7]'
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ vue: {
73
+ loaders: cssLoaders({
74
+ sourceMap: false,
75
+ extract: false
76
+ })
77
+ },
78
+ plugins: [],
79
+ eslint: {
80
+ formatter: require('eslint-friendly-formatter')
81
+ }
82
+ }