Skip to content

Commit

Permalink
chore: updates all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Aug 26, 2022
1 parent 68262e3 commit 1832b8a
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 101 deletions.
3 changes: 3 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
NODE_ENV = development

# 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头)

# 后端接口公共路径
VITE_BASE_API = 'https://vue-typescript-admin-mock-server-armour.vercel.app/mock-api/v1'

# 路由模式 hash 或 html5
VITE_ROUTER_HISTORY = 'hash'

# 开发环境地址前缀(一般 '/','./' 都可以)
VITE_PUBLIC_PATH = '/'
3 changes: 3 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
NODE_ENV = production

# 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头)

# 后端接口公共路径
VITE_BASE_API = 'https://vue-typescript-admin-mock-server-armour.vercel.app/mock-api/v1'

# 路由模式 hash 或 html5
VITE_ROUTER_HISTORY = 'hash'

# 打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/)
VITE_PUBLIC_PATH = '/v3-admin-vite/'
3 changes: 3 additions & 0 deletions .env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
NODE_ENV = production

# 下面是自定义的环境变量,可以修改(命名必须以 VITE_ 开头)

# 后端接口公共路径
VITE_BASE_API = 'https://vue-typescript-admin-mock-server-armour.vercel.app/mock-api/v1'

# 路由模式 hash 或 html5
VITE_ROUTER_HISTORY = 'hash'

#打包路径(就是网站前缀,例如部署到 https://un-pany.github.io/v3-admin-vite/ 域名下,就需要填写 /v3-admin-vite/)
VITE_PUBLIC_PATH = '/v3-admin-vite/'
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "v3-admin-vite",
"version": "3.1.11",
"version": "3.2.0",
"description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.",
"author": {
"name": "pany",
Expand Down Expand Up @@ -33,10 +33,10 @@
"nprogress": "^0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.1",
"pinia": "^2.0.20",
"pinia": "^2.0.21",
"screenfull": "^6.0.2",
"vue": "^3.2.37",
"vue-router": "^4.1.4"
"vue-router": "^4.1.5"
},
"devDependencies": {
"@types/js-cookie": "^3.0.2",
Expand All @@ -58,7 +58,7 @@
"sass": "^1.54.5",
"terser": "^5.15.0",
"typescript": "^4.8.2",
"unocss": "^0.45.12",
"unocss": "^0.45.13",
"vite": "^3.0.9",
"vite-plugin-svg-icons": "^2.0.1",
"vue-eslint-parser": "^9.0.3",
Expand Down
Loading

0 comments on commit 1832b8a

Please sign in to comment.