mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-25 18:46:34 +08:00
✅Update dependencies
This commit is contained in:
parent
2014f6ad37
commit
3a775c95d6
@ -47,7 +47,7 @@
|
|||||||
"stylelint-config-prettier": "^8.0.2",
|
"stylelint-config-prettier": "^8.0.2",
|
||||||
"stylelint-config-recess-order": "^2.4.0",
|
"stylelint-config-recess-order": "^2.4.0",
|
||||||
"svg-sprite-loader": "^6.0.9",
|
"svg-sprite-loader": "^6.0.9",
|
||||||
"vab-config": "0.0.8",
|
"vab-config": "file:vab-config",
|
||||||
"webpackbar": "^5.0.0-3"
|
"webpackbar": "^5.0.0-3"
|
||||||
},
|
},
|
||||||
"gitHooks": {
|
"gitHooks": {
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
components: { DownOutlined },
|
components: { DownOutlined },
|
||||||
setup() {
|
setup() {
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
const router = useRouter();
|
const router = useRouter()
|
||||||
const route = useRoute();
|
const route = useRoute()
|
||||||
|
|
||||||
const logout = async () => {
|
const logout = async () => {
|
||||||
await store.dispatch('user/logout')
|
await store.dispatch('user/logout')
|
||||||
|
40
vab-config/index.js
Normal file
40
vab-config/index.js
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
module.exports = {
|
||||||
|
webpackBarName: 'vue-admin-better',
|
||||||
|
webpackBanner:
|
||||||
|
' build: vue-admin-better \n vue-admin-better QQ Group(QQ群): 972435319、1139183756 \n time: ',
|
||||||
|
donationConsole() {
|
||||||
|
const chalk = require('chalk')
|
||||||
|
console.log(
|
||||||
|
chalk.green(
|
||||||
|
`> 欢迎使用vue-admin-beautiful,开源地址:https://github.com/chuzhixin/vue-admin-beautiful`
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
chalk.green(
|
||||||
|
`> pro版演示地址:http://chu1204505056.gitee.io/vue-admin-beautiful-pro?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=`
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
chalk.green(
|
||||||
|
`> vue 2.x版本演示地址(MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=`
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
chalk.green(
|
||||||
|
`> vue3.X版演示地址(andv MIT协议免费商用):http://chu1204505056.gitee.io/vue-admin-beautiful-antdv?hmsr=console&hmpl=&hmcu=&hmkw=&hmci=`
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
console.log(
|
||||||
|
chalk.green(
|
||||||
|
`> 使用中出现任何问题可加QQ群反馈,获取文档(群号:972435319,1139183756)`
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
console.log(chalk.green(`> 如果您不希望显示以上信息,可在config中配置关闭`))
|
||||||
|
console.log('\n')
|
||||||
|
},
|
||||||
|
}
|
4
vab-config/package.json
Normal file
4
vab-config/package.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "vab-config",
|
||||||
|
"main": "index.js"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user