yc-ui2 0.1.0-beta9 → 0.1.1
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/README.md +21 -15
- package/dist/yc-ui2.common.js +1655 -23
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -0
- package/dist/yc-ui2.umd.js +1655 -23
- 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 +7 -2
- package/src/main.js +3 -0
- package/vue.config.js +18 -6
- package/dist/img/1.8e585a4b.jpg +0 -0
package/src/main.js
CHANGED
@@ -2,10 +2,13 @@ import Vue from 'vue'
|
|
2
2
|
import App from './App.vue'
|
3
3
|
|
4
4
|
import SlideVerify from "vue-monoplasty-slide-verify"
|
5
|
+
import ElementUI from 'element-ui'
|
6
|
+
import 'element-ui/lib/theme-chalk/index.css';
|
5
7
|
|
6
8
|
Vue.config.productionTip = false
|
7
9
|
|
8
10
|
Vue.use(SlideVerify)
|
11
|
+
Vue.use(ElementUI)
|
9
12
|
|
10
13
|
new Vue({
|
11
14
|
render: h => h(App),
|
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
|