Skip to content

badreddinkaztaoui/r3f-starter-with-typescript

Repository files navigation

R3F Starter with TypeScript

Example image

This project is a starter template for creating React Three Fiber (R3F) applications with TypeScript. It includes all the necessary configuration to get started with R3F and TypeScript, including:

  • A basic R3F scene with a spinning cube
  • A basic Vite configuration with support for TypeScript, CSS and file loading

Getting Started

To get started, clone the repository and install dependencies:

git clone https://github.com/badreddinkaztaoui/r3f-starter-with-typescript.git
cd r3f-starter-with-typescript
npm install
or
yarn

Then, start the development server:

npm run dev
or
yarn dev

This will start the development server at http://localhost:5173/.

Building for Production

To build the application for production, run:

npm run build
or
yarn build

This will create a production-ready bundle in the dist directory.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A starter application using react-three/fiber and typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published