init
This commit is contained in:
13
.env.development
Normal file
13
.env.development
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
#开发环境配置
|
||||||
|
VITE_APP_ENV = 'development'
|
||||||
|
|
||||||
|
#接口地址
|
||||||
|
VITE_APP_API=/api
|
||||||
|
|
||||||
|
#调试参数
|
||||||
|
VITE_APP_DEBUG_KEY=saber
|
||||||
|
VITE_APP_DEBUG_SWITCH=false
|
||||||
|
|
||||||
|
#页面基础路径
|
||||||
|
VITE_APP_BASE=/
|
||||||
17
.env.production
Normal file
17
.env.production
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#生产环境配置
|
||||||
|
VITE_APP_ENV = 'production'
|
||||||
|
|
||||||
|
#接口地址
|
||||||
|
#填写前缀 [/api] 需要用nginx进行反向代理
|
||||||
|
#填写地址 [https://api.bladex.cn] 只需要保证接口支持跨域即可, 无需再做代理
|
||||||
|
VITE_APP_API=/api
|
||||||
|
|
||||||
|
#调试参数
|
||||||
|
VITE_APP_DEBUG_KEY=saber
|
||||||
|
VITE_APP_DEBUG_SWITCH=false
|
||||||
|
|
||||||
|
#页面基础路径
|
||||||
|
VITE_APP_BASE=/
|
||||||
|
|
||||||
|
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||||
|
VITE_BUILD_COMPRESS = gzip
|
||||||
24
.gitignore
vendored
Executable file
24
.gitignore
vendored
Executable file
@@ -0,0 +1,24 @@
|
|||||||
|
.DS_Store
|
||||||
|
node_modules
|
||||||
|
/dist
|
||||||
|
|
||||||
|
/tests/e2e/videos/
|
||||||
|
/tests/e2e/screenshots/
|
||||||
|
|
||||||
|
# local env files
|
||||||
|
.env.local
|
||||||
|
.env.*.local
|
||||||
|
|
||||||
|
# log files
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
# editor directories and files
|
||||||
|
.idea
|
||||||
|
.vscode
|
||||||
|
*.suo
|
||||||
|
*.ntvs*
|
||||||
|
*.njsproj
|
||||||
|
*.sln
|
||||||
|
*.sw*
|
||||||
2
.npmrc
Normal file
2
.npmrc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@saber:registry=https://center.javablade.com/api/packages/blade/npm/
|
||||||
|
//center.javablade.com/api/packages/blade/npm/:_authToken=19760a9688ca5b36cdf0abb3354f06c7584c9150
|
||||||
Reference in New Issue
Block a user