-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(add,init): improve default ux (#737)
Co-authored-by: Sébastien Chopin <[email protected]>
- Loading branch information
Showing
8 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { colors } from 'consola/utils' | ||
|
||
/** | ||
* Thank you to Matt Eason for the proposal of this ASCII art | ||
* https://bsky.app/profile/matteason.me/post/3lhwnl5e4g22l | ||
*/ | ||
const icon = [ | ||
` __`, | ||
` / \\ __ `, | ||
` / /\\ \\/ \\ `, | ||
` / / \\ /\\ \\ `, | ||
` / /___/ / _\\ \\ `, | ||
`/_______/ /____\\ `, | ||
] | ||
|
||
export const nuxtIcon = icon.map(line => colors.greenBright(line)).join('\n') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import { consola } from 'consola' | ||
import { colors } from 'consola/utils' | ||
|
||
export const logger = consola.withTag('nuxi') | ||
export const logger = consola.withTag(colors.whiteBright(colors.bold(colors.bgGreenBright(' nuxi ')))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters