基于vue的文件分片上传 demo
inleft
2022-01-12 5c4f0c6483db9a719c952795c20ef6caaa73d5e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// vue.config.js for less-loader@6.0.0
module.exports = {
    css: {
        loaderOptions: {
            less: {
                lessOptions: {
                    // If you are using less-loader@5 please spread the lessOptions to options directly
                    modifyVars: {
                        "primary-color": "#1DA57A", // 全局主色
                        "link-color": "#1890ff", // 链接色
                        "success-color": "#52c41a", // 成功色
                        "warning-color": "#faad14", // 警告色
                        "error-color": "#f5222d", // 错误色
                        "font-size-base": "14px", // 主字号
                        "heading-color": "rgba(0, 0, 0, 0.85) ", // 标题色
                        "text-color": "rgba(0, 0, 0, 0.65) ", // 主文本色
                        "text-color-secondary": "rgba(0, 0, 0, 0.45) ", // 次文本色
                        "disabled-color": "rgba(0, 0, 0, 0.25)", // 失效色
                        "border-radius-base": "4px", // 组件 / 浮层圆角 "border-color-base": "#d9d9d9" ,// 边框色
                        "box-shadow-base": "0 2px 8px rgba(0, 0, 0, 0.15) " // 浮层阴影
                    },
                    javascriptEnabled: true,
                },
            },
        },
    },
};