diff --git a/admin/.env.development b/admin/.env.development new file mode 100644 index 0000000..8934792 --- /dev/null +++ b/admin/.env.development @@ -0,0 +1,4 @@ +NODE_ENV = 'development' + +# 请求域名 +VITE_APP_BASE_URL='http://127.0.0.1:8082' \ No newline at end of file diff --git a/admin/.env.production b/admin/.env.production new file mode 100644 index 0000000..e841ff9 --- /dev/null +++ b/admin/.env.production @@ -0,0 +1,4 @@ +NODE_ENV = 'production' + +# 请求域名 +VITE_APP_BASE_URL='' \ No newline at end of file diff --git a/admin/.gitignore b/admin/.gitignore index b844e9b..e57d6d4 100644 --- a/admin/.gitignore +++ b/admin/.gitignore @@ -31,5 +31,5 @@ components.d.ts *.sw? # .env -.env.development -.env.production +#.env.development +#.env.production