create-r3f v1.8.0
create-r3f
A CLI tool to quickly create React Three Fiber (R3F) applications with a pre-configured setup.
Installation
npx create-r3f my-r3f-app
Using npx (recommended)
This will create a new R3F application in a directory called my-r3f-app
with all necessary dependencies and configuration.
Features
- š Quick project setup for React Three Fiber
- ā”ļø Pre-configured development environment
- š¦ Includes essential dependencies
- šØ Basic template with example components
- š Ready-to-use project structure
Project Structure
my-app-name/ āāā public/ ā āāā favicon.ico ā āāā index.html ā āāā logo192.png ā āāā logo512.png ā āāā manifest.json ā āāā robots.txt āāā src/ ā āāā App.js ā āāā App.css ā āāā index.js ā āāā other configuration files āāā package.json
Development
After creating your project:
cd my-r3f-app npm install npm start
This will start the development server on http://localhost:3000
.
Contributing
Contributions are welcome! Feel free to submit issues and pull requests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
MIT Ā© rajkumar_palanichamy
Made with ā¤ļø for the React Three Fiber community