From adc9abd145c24f2d3e7033bb738e1e8641eaf4cf Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 02 九月 2025 17:30:43 +0800 Subject: [PATCH] 2025.9.2 --- vite.config.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/vite.config.js b/vite.config.js index 3487c29..5cbb041 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,6 +2,7 @@ import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; +// import ViteSvgr from 'vite-plugin-svgr'; import Components from 'unplugin-vue-components/vite'; import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'; @@ -9,6 +10,7 @@ export default defineConfig({ plugins: [ vue(), + // ViteSvgr(), Components({ // allow auto load markdown components under `./src/components/` extensions: ['vue', 'md'], @@ -34,6 +36,7 @@ preprocessorOptions: { scss: { additionalData: `@use "@/styles/index.scss" as *;` + // additionalData: '@import "@/styles/index.scss";' } } }, -- Gitblit v1.9.3