Skip to content

Commit a5b19ef

Browse files
committed
feat: improve console message
1 parent 2e968cd commit a5b19ef

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

packages/devtools/src/module-main.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,15 @@ window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
178178

179179
const isMac = os.platform() === 'darwin'
180180

181-
logger.success(`Nuxt DevTools ${colors.dim(`v${version}`)}${isGlobalInstall() ? colors.dim(' [global]') : ''} enabled, press \`Shift\` + \`${isMac ? 'Option' : 'Alt'}\` + \`D\` in app to open.`)
181+
logger.log([
182+
colors.yellow(` ➜ DevTools: `),
183+
colors.dim('press '),
184+
colors.green('Shift'),
185+
colors.dim(' + '),
186+
colors.green(isMac ? 'Option' : 'Alt'),
187+
colors.dim(' + '),
188+
colors.green('D'),
189+
colors.dim(` in the browser (v${version})`),
190+
'\n',
191+
].join(''))
182192
}

0 commit comments

Comments
 (0)