From 307b17ef15c73a071912a262834f2a5f68e1fa87 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 11 九月 2025 15:20:35 +0800
Subject: [PATCH] 完成走航季度报告自动生成
---
vite.config.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index 56719e5..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'],
@@ -27,6 +29,17 @@
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
+ css: {
+ // postcss: {
+ // plugins: [autoprefixer],
+ // },
+ preprocessorOptions: {
+ scss: {
+ additionalData: `@use "@/styles/index.scss" as *;`
+ // additionalData: '@import "@/styles/index.scss";'
+ }
+ }
+ },
server: {
host: '0.0.0.0'
}
--
Gitblit v1.9.3