Browse Source

chore: update basic config

main
刘凯 1 year ago
parent
commit
0798d6fb84
  1. 4
      .env
  2. 2
      .env.development
  3. 2
      LICENSE
  4. 2
      package.json
  5. 2
      src/design/var/index.less
  6. 2
      src/settings/designSetting.ts

4
.env

@ -2,10 +2,10 @@
VITE_PORT = 3000 VITE_PORT = 3000
# 网站标题 # 网站标题
VITE_GLOB_APP_TITLE = 山东青鸟工业互联网 VITE_GLOB_APP_TITLE = Fast Iot Web
# 简称,用于配置文件名字 不要出现空格、数字开头等特殊字符 # 简称,用于配置文件名字 不要出现空格、数字开头等特殊字符
VITE_GLOB_APP_SHORT_NAME = QNGH_Admin VITE_GLOB_APP_SHORT_NAME = FAST_IOT_Admin
# 租户开关 # 租户开关
VITE_GLOB_APP_TENANT_ENABLE = true VITE_GLOB_APP_TENANT_ENABLE = true

2
.env.development

@ -7,7 +7,7 @@ VITE_PUBLIC_PATH = /
# 本地开发代理,可以解决跨域及多地址代理 # 本地开发代理,可以解决跨域及多地址代理
# 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题 # 如果接口地址匹配到,则会转发到http://localhost:3000,防止本地出现跨域问题
# 可以有多个,注意多个不能换行,否则代理将会失效 # 可以有多个,注意多个不能换行,否则代理将会失效
VITE_PROXY = [["/dev-api","http://192.168.1.100:48080/admin-api"],["/upload","http://192.168.1.100:48080/admin-api/infra/file/upload"]] VITE_PROXY = [["/dev-api","192.168.1.100:48081/admin-api"],["/upload","192.168.1.100:48081/admin-api/infra/file/upload"]]
# 是否删除Console.log # 是否删除Console.log
VITE_DROP_CONSOLE = false VITE_DROP_CONSOLE = false

2
LICENSE

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2024-present, nqgh Copyright (c) 2024-present, fast-iot
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

2
package.json

@ -1,5 +1,5 @@
{ {
"name": "vue-admin-template", "name": "fast-iot-web",
"type": "module", "type": "module",
"version": "0.1.0-beta.0", "version": "0.1.0-beta.0",
"packageManager": "pnpm@8.10.0", "packageManager": "pnpm@8.10.0",

2
src/design/var/index.less

@ -2,7 +2,7 @@
@import "easing"; @import "easing";
@import "breakpoint"; @import "breakpoint";
@namespace: qngh; @namespace: fast-iot;
// tabs // tabs
@multiple-height: 30px; @multiple-height: 30px;

2
src/settings/designSetting.ts

@ -1,6 +1,6 @@
import { ThemeEnum } from '../enums/appEnum' import { ThemeEnum } from '../enums/appEnum'
export const prefixCls = 'qngh' export const prefixCls = 'fast-iot'
export const multipleTabHeight = 30 export const multipleTabHeight = 30