From 7e465ce011a27b730d529fd912eae5f9552520b4 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期三, 07 八月 2024 17:48:35 +0800 Subject: [PATCH] 基本实现语言大模型页面布局及功能(未与模型对话接口调试) --- vue.config.js | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/vue.config.js b/vue.config.js index dd1ecae..4e39c41 100644 --- a/vue.config.js +++ b/vue.config.js @@ -81,6 +81,25 @@ 'border-radius-base': '4px', }, javascriptEnabled: true, + }, + postcss:{ + plugins:[ + require('postcss-px-to-viewport')({ + unitToConvert: "px", + viewportWidth: 1920, + unitPrecision: 3, + propList: [ + "*" + ], + viewportUnit: "vw", + fontViewportUnit: "vw", + selectorBlackList: [], + minPixelValue: 0, + mediaQuery: false, + replace: true, + exclude: /(\/|\\)(node_modules)(\/|\\)/, + }) + ] } } }, -- Gitblit v1.9.3