mirror of
https://gitee.com/bootx/dax-pay-h5.git
synced 2025-10-13 13:43:53 +00:00
refactor(env): 调整环境变量配置并更新依赖版本-
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# 独立部署模式
|
||||
VITE_PUBLIC_PATH=
|
||||
#VITE_PUBLIC_PATH=
|
||||
# API 接口前缀
|
||||
VITE_GLOB_API_URL_PREFIX=/api
|
||||
#VITE_GLOB_API_URL_PREFIX=/api
|
||||
|
||||
# 嵌入式模式 与后端部署在一起
|
||||
#VITE_PUBLIC_PATH=/h5
|
||||
VITE_PUBLIC_PATH=/h5
|
||||
# API 接口前缀
|
||||
#VITE_GLOB_API_URL_PREFIX=
|
||||
VITE_GLOB_API_URL_PREFIX=
|
||||
|
||||
# 是否删除console
|
||||
VITE_DROP_CONSOLE=true
|
||||
|
7
components.d.ts
vendored
7
components.d.ts
vendored
@@ -13,15 +13,14 @@ declare module 'vue' {
|
||||
VanButton: typeof import('vant/es')['Button']
|
||||
VanCell: typeof import('vant/es')['Cell']
|
||||
VanCellGroup: typeof import('vant/es')['CellGroup']
|
||||
VanCol: typeof import('vant/es')['Col']
|
||||
VanConfigProvider: typeof import('vant/es')['ConfigProvider']
|
||||
VanDialog: typeof import('vant/es')['Dialog']
|
||||
VanField: typeof import('vant/es')['Field']
|
||||
VanGrid: typeof import('vant/es')['Grid']
|
||||
VanGridItem: typeof import('vant/es')['GridItem']
|
||||
VanLoading: typeof import('vant/es')['Loading']
|
||||
VanNumberKeyboard: typeof import('vant/es')['NumberKeyboard']
|
||||
VanOverlay: typeof import('vant/es')['Overlay']
|
||||
VanRow: typeof import('vant/es')['Row']
|
||||
VanSpace: typeof import('vant/es')['Space']
|
||||
VanSubmitBar: typeof import('vant/es')['SubmitBar']
|
||||
VanTextEllipsis: typeof import('vant/es')['TextEllipsis']
|
||||
}
|
||||
}
|
||||
|
38
package.json
38
package.json
@@ -27,62 +27,62 @@
|
||||
"@types/lodash-es": "^4.17.12",
|
||||
"@unocss/reset": "^0.58.9",
|
||||
"@vueuse/core": "^10.11.1",
|
||||
"axios": "^1.7.7",
|
||||
"axios": "^1.7.9",
|
||||
"date-fns": "^3.6.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.2.2",
|
||||
"pinia": "^2.3.0",
|
||||
"pinia-plugin-persist": "^1.0.0",
|
||||
"qs": "^6.13.0",
|
||||
"vant": "^4.9.7",
|
||||
"vue": "^3.5.8",
|
||||
"qs": "^6.13.1",
|
||||
"vant": "^4.9.10",
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "4.2.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^2.27.3",
|
||||
"@commitlint/cli": "^18.6.1",
|
||||
"@commitlint/config-conventional": "^18.6.3",
|
||||
"@iconify/json": "^2.2.252",
|
||||
"@iconify/json": "^2.2.281",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/mockjs": "^1.0.10",
|
||||
"@types/node": "^20.16.5",
|
||||
"@types/node": "^20.17.9",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@types/qs": "^6.9.16",
|
||||
"@types/qs": "^6.9.17",
|
||||
"@unocss/eslint-plugin": "^0.58.9",
|
||||
"@unocss/preset-icons": "^0.58.9",
|
||||
"@unocss/preset-rem-to-px": "^0.58.9",
|
||||
"@unocss/transformer-directives": "^0.58.9",
|
||||
"@unocss/transformer-variant-group": "^0.58.9",
|
||||
"@vitejs/plugin-vue": "^5.1.4",
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"cross-env": "^7.0.3",
|
||||
"cz-git": "^1.9.4",
|
||||
"dotenv": "^16.4.5",
|
||||
"cz-git": "^1.11.0",
|
||||
"dotenv": "^16.4.7",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-format": "^0.1.2",
|
||||
"eslint-plugin-format": "^0.1.3",
|
||||
"esno": "^0.16.3",
|
||||
"fs-extra": "^11.2.0",
|
||||
"less": "^4.2.0",
|
||||
"less": "^4.2.1",
|
||||
"lint-staged": "^15.2.10",
|
||||
"only-allow": "^1.2.1",
|
||||
"picocolors": "^1.1.0",
|
||||
"postcss": "^8.4.47",
|
||||
"postcss-mobile-forever": "^4.1.6",
|
||||
"picocolors": "^1.1.1",
|
||||
"postcss": "^8.4.49",
|
||||
"postcss-mobile-forever": "^4.3.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^4.22.4",
|
||||
"rollup": "^4.28.1",
|
||||
"rollup-plugin-visualizer": "^5.12.0",
|
||||
"simple-git-hooks": "^2.11.1",
|
||||
"typescript": "^5.6.2",
|
||||
"typescript": "^5.7.2",
|
||||
"unocss": "^0.58.9",
|
||||
"unplugin-auto-import": "^0.17.8",
|
||||
"unplugin-vue-components": "^0.26.0",
|
||||
"vconsole": "^3.15.1",
|
||||
"vite-plugin-vconsole": "^2.1.1",
|
||||
"vite": "5.4.6",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-html": "^3.2.2",
|
||||
"vite-plugin-mock": "^2.9.8",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vite-plugin-vconsole": "^2.1.1",
|
||||
"vue-tsc": "^1.8.27"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
2440
pnpm-lock.yaml
generated
2440
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
2
types/auto-imports.d.ts
vendored
2
types/auto-imports.d.ts
vendored
@@ -303,6 +303,6 @@ declare global {
|
||||
// for type re-export
|
||||
declare global {
|
||||
// @ts-ignore
|
||||
export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
|
||||
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
||||
import('vue')
|
||||
}
|
||||
|
Reference in New Issue
Block a user