package
This is a single-page application project template using React and [Bun](https://bun.sh/). Run the following commands to get started.
npm install @bun-examples/reactGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 5 packages.
9.1 MB
Includes dependencies.
3 direct · 3 outdated
This is a single-page application project template using React and Bun. Run the following commands to get started.
bun create react ./react-bun-app
cd react-bun-appThe bun create command will automatically install the required dependencies. To start the dev server:
bun run devThen open http://localhost:3000 with your browser to see the result.
This bundles src/index.tsx and starts a development server that serves from the public and build directories. When the incoming request to localhost:3000/ comes in, the following exchange occurs:
public/index.html.script tags with src="/index.js". The browser requests this file.public (no match) then in build. It finds build/index.js and returns it to the browser.src/App.tsx inside the div#root element. The app is now ready to accept user input.Start building your app by editing src/App.tsx.
bun-examples-ci
bun-examples-ci@jarredsumner.com