pms-v1/web/src/core/config.js

85 lines
1.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 网站配置文件
*/
import chalk from "chalk";
const config = {
appName: 'Gin-Vue-Admin',
appLogo: 'https://www.gin-vue-admin.com/img/logo.png',
showViteLogo: true,
logs: [],
}
export const viteLogo = (env) => {
if (config.showViteLogo) {
const chalk = require('chalk')
console.log(
chalk.green(
`> 欢迎使用Gin-Vue-Admin开源地址https://github.com/flipped-aurora/gin-vue-admin`
)
)
console.log(
chalk.green(
`> 当前版本:v2.6.5`
)
)
console.log(
chalk.green(
`> 加群方式:微信shouzi_1994 QQ群470239250`
)
)
console.log(
chalk.green(
`> 项目地址https://github.com/flipped-aurora/gin-vue-admin`
)
)
console.log(
chalk.green(
`> 插件市场:https://plugin.gin-vue-admin.com`
)
)
console.log(
chalk.green(
`> GVA讨论社区:https://support.qq.com/products/371961`
)
)
console.log(
chalk.green(
`> 默认自动化文档地址:http://127.0.0.1:${env.VITE_SERVER_PORT}/swagger/index.html`
)
)
console.log(
chalk.green(
`> 默认前端文件运行地址:http://127.0.0.1:${env.VITE_CLI_PORT}`
)
)
console.log(
chalk.green(
`--------------------------------------版权声明--------------------------------------`
)
)
console.log(
chalk.green(
`** 版权所有方flipped-aurora开源团队 **`
)
)
console.log(
chalk.green(
`** 版权持有公司:北京翻转极光科技有限责任公司 **`
)
)
console.log(
chalk.green(
`** 剔除授权标识需购买商用授权https://gin-vue-admin.com/empower/index.html **`
)
)
console.log('\n')
}
}
export default config