diff options
author | 2023-08-28 12:24:33 -0700 | |
---|---|---|
committer | 2023-08-28 12:24:51 -0700 | |
commit | 726f8aa3ef78956dfb59c27801c961236ed9d8e1 (patch) | |
tree | 0360c105562ad5c95b21824d7be250fbbe7f6fdd /docs | |
parent | d3626287bd905be9435c165f8387222ac2759bd1 (diff) | |
download | bun-726f8aa3ef78956dfb59c27801c961236ed9d8e1.tar.gz bun-726f8aa3ef78956dfb59c27801c961236ed9d8e1.tar.zst bun-726f8aa3ef78956dfb59c27801c961236ed9d8e1.zip |
Update nuxi output
Diffstat (limited to 'docs')
-rw-r--r-- | docs/guides/ecosystem/nuxt.md | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/docs/guides/ecosystem/nuxt.md b/docs/guides/ecosystem/nuxt.md index bb0291754..30ce2dad4 100644 --- a/docs/guides/ecosystem/nuxt.md +++ b/docs/guides/ecosystem/nuxt.md @@ -6,28 +6,18 @@ Bun supports [Nuxt](https://nuxt.com) out of the box. Initialize a Nuxt app with ```sh $ bunx nuxi init my-nuxt-app -Nuxi 3.6.5 -✨ Nuxt project is created with v3 template. Next steps: - › cd my-nuxt-app - › Install dependencies with npm install or yarn install or pnpm install - › Start development server with npm run dev or yarn dev or pnpm run dev -``` - ---- - -Then move into the project directory and install dependencies. - -```sh -$ cd my-app -$ bun install -bun install v0.8.0 - + @nuxt/devtools@0.8.0 - + @types/node@18.17.6 - + nuxt@3.6.5 -Nuxi 3.6.5 +✔ Which package manager would you like to use? +bun +◐ Installing dependencies... +bun install v0.8.1 (16b4bf34) + + @nuxt/devtools@0.8.2 + + nuxt@3.7.0 + 785 packages installed [2.67s] +✔ Installation completed. ✔ Types generated in .nuxt - - 776 packages installed [1.72s] +✨ Nuxt project has been created with the v3 template. Next steps: + › cd my-nuxt-app + › Start development server with bun run dev ``` --- @@ -39,6 +29,7 @@ The `nuxt` CLI uses Node.js by default; passing the `--bun` flag forces the dev {% /callout %} ``` +$ cd my-nuxt-app $ bun --bun run dev $ nuxt dev Nuxi 3.6.5 |