mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-27 13:52:38 +00:00
green OPEN message
nuxt branding
This commit is contained in:
parent
ea33d83c2e
commit
c5578f8822
@ -59,7 +59,7 @@ export default class Nuxt extends Tapable {
|
|||||||
// Show Open URL
|
// Show Open URL
|
||||||
let _host = host === '0.0.0.0' ? 'localhost' : host
|
let _host = host === '0.0.0.0' ? 'localhost' : host
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log('\n' + chalk.bold(chalk.bgBlue.black(' OPEN ') + chalk.blue(` http://${_host}:${port}\n`)))
|
console.log('\n' + chalk.bold(chalk.bgGreen.white(' OPEN ') + chalk.green(` http://${_host}:${port}\n`)))
|
||||||
|
|
||||||
// Close server on nuxt close
|
// Close server on nuxt close
|
||||||
this.plugin('close', () => new Promise((resolve, reject) => {
|
this.plugin('close', () => new Promise((resolve, reject) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user