chore(nuxi): add pnpm to init instructions (#3826)

* Add pnpm instructions

Add pnpm commands to install the dependencies and start the development server

* Update packages/nuxi/src/commands/init.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
This commit is contained in:
jfavlam 2022-03-22 10:35:07 +01:00 committed by GitHub
parent d909bc6548
commit 7a994bc7a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,8 @@ export default defineNuxtCommand({
console.log(`\n 🎉 Another ${superb.random()} Nuxt project just made! Next steps:` + [ console.log(`\n 🎉 Another ${superb.random()} Nuxt project just made! Next steps:` + [
'', '',
`📁 \`cd ${rpath(dstDir)}\``, `📁 \`cd ${rpath(dstDir)}\``,
'💿 Install dependencies with `npm install` or `yarn install`', '💿 Install dependencies with `npm install` or `yarn install` or `pnpm install --shamefully-hoist`',
'🚀 Start development server with `npm run dev` or `yarn dev`', '🚀 Start development server with `npm run dev` or `yarn dev` or `pnpm run dev',
'' ''
].join('\n\n ')) ].join('\n\n '))
} }