From ab531d3b080ffd6881b1dff0a9296ceb68faf37e Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 8 Aug 2022 17:39:39 +0800 Subject: [PATCH] =?UTF-8?q?scss=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E9=A2=84=E5=8A=A0=E8=BD=BD=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vue.config.js b/vue.config.js index 1b2fe93c..9e5ae111 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,6 +2,13 @@ const path = require('path'); module.exports = { lintOnSave: false, productionSourceMap: false, + css: { + loaderOptions: { + scss: { + data: `@import "~dvcp-ui/lib/styles/vars.scss";` + } + } + }, //多页面配置 pages: { index: {