--- name: Build an app with Nuxt and Bun --- Bun supports [Nuxt](https://nuxt.com) out of the box. Initialize a Nuxt app with official `nuxi` CLI. ```sh $ bunx nuxi init my-nuxt-app ✔ Which package manager would you like to use? bun ◐ Installing dependencies... bun install v1.x (16b4bf34) + @nuxt/devtools@0.8.2 + nuxt@3.7.0 785 packages installed [2.67s] ✔ Installation completed. ✔ Types generated in .nuxt ✨ Nuxt project has been created with the v3 template. Next steps: › cd my-nuxt-app › Start development server with bun run dev ``` --- To start the dev server, run `bun --bun run dev` from the project root. This will execute the `nuxt dev` command (as defined in the `"dev"` script in `package.json`). {% callout %} The `nuxt` CLI uses Node.js by default; passing the `--bun` flag forces the dev server to use the Bun runtime instead. {% /callout %} ``` $ cd my-nuxt-app $ bun --bun run dev $ nuxt dev Nuxi 3.6.5 Nuxt 3.6.5 with Nitro 2.5.2 > Local: http://localhost:3000/ > Network: http://192.168.0.21:3000/ > Network: http://[fd8a:d31d:481c:4883:1c64:3d90:9f83:d8a2]:3000/ ✔ Nuxt DevTools is enabled v0.8.0 (experimental) ℹ Vite client warmed up in 547ms ✔ Nitro built in 244 ms ``` --- Once the dev server spins up, open [http://localhost:3000](http://localhost:3000) to see the app. The app will render Nuxt's built-in `NuxtWelcome` template component. To start developing your app, replace `` in `app.vue` with your own UI. {% image src="https://github.com/oven-sh/bun/assets/3084745/2c683ecc-3298-4bb0-b8c0-cf4cfaea1daa" caption="Demo Nuxt app running on localhost" /%} --- Refer to the [Nuxt website](https://nuxt.com/docs) for complete documentation. onnect-tests'>ciro/proxy-connect-tests Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/macro-check.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-05-02Automatic CString supportGravatar Jarred Sumner 1-23/+78
2022-05-01[bun:ffi] Add wrapper for type coercionGravatar Jarred Sumner 1-2/+172
2022-05-01wip Buffer.fillGravatar Jarred Sumner 3-95/+167
2022-05-01Buffer.compare & Buffer.equalGravatar Jarred Sumner 2-5/+244
2022-05-01[bun.js] Improve `Buffer` creation perf a littleGravatar Jarred Sumner 2-8/+45
2022-05-01[bun.js] Implement `Buffer.concat`Gravatar Jarred Sumner 2-1/+78
2022-04-30Bump WebKitGravatar Jarred Sumner 1-0/+0
2022-04-30cleanupGravatar Jarred Sumner 5-2/+132
2022-04-30[bun.js] Implement `Buffer.from` and `Buffer.copy`Gravatar Jarred Sumner 12-520/+952
2022-04-30[bun ffi] Fix missing `"void"`Gravatar Jarred Sumner 1-0/+1
2022-04-30[bun ffi] Remove dependency on libtcc1.a and improve error messagesGravatar Jarred Sumner 3-36/+139
2022-04-30wipGravatar Jarred Sumner 9-272/+883
2022-04-30Update ffi-test.cGravatar Jarred Sumner 1-24/+35
2022-04-30aGravatar Jarred Sumner 1-0/+27
2022-04-29[bun:ffi] it worksGravatar Jarred Sumner 15-221/+1277
2022-04-29[bun.js] Implement unsafe.{`arrayBufferToPtr`, `arrayBufferFromPtr`, `bufferF...Gravatar Jarred Sumner 6-82/+187
2022-04-29[bun ffi] Support pointersGravatar Jarred Sumner 4-238/+179
2022-04-29[bun ffi] support `i32`, `i8`, `u8`, `u16`, `i16`, `u32`, `bool`Gravatar Jarred Sumner 5-159/+260
2022-04-29more tests for bufferGravatar Jarred Sumner 1-1/+165
2022-04-29add more to buffer implementationGravatar Jarred Sumner 14-157/+783
2022-04-29ffi test codeGravatar Jarred Sumner 2-26/+247
2022-04-29wipGravatar Jarred Sumner 10-16/+312
2022-04-29commit moreGravatar Jarred Sumner 3-0/+81