R3F boilerplate for 3D graphics websites The file system consists of jsx / js, HTML and CSS for the main structure. Shader files (glsl) can be contained in 'shaders' folder to export to each component files.
- Clone this repository using
git clone --depth=1 https://github.com/Masaknd/r3f-boilerplate.git <YOUR_PROJECT_NAME> - Move to the newly created directory:
cd <YOUR_PROJECT_NAME>
-
To use pnpm or yarn, change "npm" in package.json > scripts to "pnpm".
install node modules
npm installDevelopment mode
npm devBuild mode
npm build
After cloning to start this repository from your own 'Initial commit' you can completely remove the existing git information by doing the following:
rm -rf .gitthis will remove the git information for the repositorygit initthis will start the repository with no history from the current state
No specification
Masaknd: @Masaknd_dsgn