From 2fabb85dfc29e29612e99dc72fccdfaa131602c5 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Thu, 10 Jul 2025 17:22:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 13 +++++++++++++ .env.production | 20 ++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .env.development create mode 100644 .env.production diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..555fc75 --- /dev/null +++ b/.env.development @@ -0,0 +1,13 @@ +# must start with VITE_ +VITE_ENV = 'development' +VITE_OUTPUT_DIR = 'dev' +# public path +VITE_PUBLIC_PATH = / + +#新数据接口 +# VITE_APP_API_BASE_URL = "http://39.101.133.168:8828/link" + + +# Whether to open mock +VITE_USE_MOCK = true + diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..e795fa8 --- /dev/null +++ b/.env.production @@ -0,0 +1,20 @@ +# must start with VITE_ +VITE_ENV = 'production' +VITE_OUTPUT_DIR = 'dist' +# public path +VITE_PUBLIC_PATH = /aixiaocaishen +# VITE_PUBLIC_PATH = / + +# Whether to open mock +VITE_USE_MOCK = true + +#新数据接口 +# VITE_APP_API_BASE_URL = https://api.homilychart.com/link + +# Whether to enable gzip or brotli compression +# Optional: gzip | brotli | none +# If you need multiple forms, you can use `,` to separate +VITE_BUILD_COMPRESS = 'none' + +# Whether to delete origin files when using compress, default false +VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false \ No newline at end of file