From d629d9ee09eb91be19fd21f04f78a89f7d837c3a Mon Sep 17 00:00:00 2001
From: lijh <lijh>
Date: Fri, 14 Jan 2022 18:28:26 +0800
Subject: [PATCH] 样式调整

---
 vue.config.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 65de8c0..e448f53 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,5 +1,16 @@
 // vue.config.js for less-loader@6.0.0
 module.exports = {
+	configureWebpack: (config) => {
+		config.module.rules.push({
+			test: /\.md$/,
+			use: [{
+				loader: 'text-loader', // 解决ivew组件 忽略前缀i的问题
+				options: {
+					prefix: false
+				}
+			}, ]
+		})
+	},
 	css: {
 		loaderOptions: {
 			less: {
@@ -7,7 +18,9 @@
 					// If you are using less-loader@5 please spread the lessOptions to options directly
 					modifyVars: {
 						"primary-color": "#1DA57A", // 全局主色
-						"link-color": "#1890ff", // 链接色
+						// "link-color": "#1890ff", // 链接色
+						"link-color": "#ffffff", // 链接色
+						"link-hover-color": "#30a9de",
 						"success-color": "#52c41a", // 成功色
 						"warning-color": "#faad14", // 警告色
 						"error-color": "#f5222d", // 错误色

--
Gitblit v1.9.1