Skip to content

Commit

Permalink
async printTitle()
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Sep 14, 2024
1 parent 6bc644a commit a0ce071
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import { printTitle } from '@/utils/title'
import Clipboard from 'v-clipboard'
import loadFromLocal from './utils/stores/loadFromLocal'

printTitle()

const app = createApp(App)
app.use(userData)
app.use(router)
Expand All @@ -36,4 +38,3 @@ app.component('ndialog', ndialog)

loadFromLocal()
app.mount('#app')
printTitle()
2 changes: 1 addition & 1 deletion src/utils/title.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const colorBadgeData = 'background-color: #606060; color: #fff;'
const colorReset = 'background-color: none; color: none;'
const colorCFU = 'wdith: 100%; background-color: #66ccff; color: #fff;'

export function printTitle() {
export async function printTitle() {
console.log(
`%c
_ ____ _____
Expand Down

0 comments on commit a0ce071

Please sign in to comment.