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