yc-ui2 0.1.0-beta10 → 0.1.0-beta12
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.
- package/dist/yc-ui2.common.js +1623 -13
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.umd.js +1623 -13
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +3 -1
- package/vue.config.js +18 -6
- package/dist/img/1.8e585a4b.jpg +0 -0
package/vue.config.js
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
const { defineConfig } = require(
|
1
|
+
const { defineConfig } = require("@vue/cli-service")
|
2
2
|
|
3
|
+
let path = require("path")
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
function resolve (dir) {
|
5
|
+
function resolve(dir) {
|
7
6
|
return path.join(__dirname, dir)
|
8
7
|
}
|
9
8
|
|
@@ -11,9 +10,22 @@ module.exports = defineConfig({
|
|
11
10
|
transpileDependencies: true,
|
12
11
|
chainWebpack: (config) => {
|
13
12
|
config.resolve.alias
|
14
|
-
.set(
|
13
|
+
.set("@", resolve("src"))
|
15
14
|
.set("assets", resolve("src/assets"))
|
16
15
|
.set("comp", resolve("src/components"))
|
17
|
-
|
16
|
+
},
|
17
|
+
// 前端代理服务器
|
18
|
+
devServer: {
|
19
|
+
proxy: {
|
20
|
+
['/cloud-img']: {
|
21
|
+
target: `http://113.219.171.47:6610/cloud-img/`,
|
22
|
+
changeOrigin: true,
|
23
|
+
pathRewrite: {
|
24
|
+
["^/cloud-img"]: "",
|
25
|
+
},
|
26
|
+
},
|
27
|
+
},
|
28
|
+
historyApiFallback: true,
|
29
|
+
allowedHosts: "all"
|
18
30
|
},
|
19
31
|
})
|
package/dist/img/1.8e585a4b.jpg
DELETED
Binary file
|