Solid-three is a port of React-three-fiber to SolidJS, originally created by Nikhil Saraf. It allows you to declaratively construct a Three.js scene, with reactive primitives, just as you would construct a DOM tree in SolidJS.
This repo is a template for creating a new SolidJS solid-three project.
- Vite
- SolidJS
- TypeScript
- ESLint
- Prettier
- PNPM
- Linting and Formatting
If you use VSCode
, open the workspace and install the recommended extensions.
Then, run the following command:
npm install
# or
yarn
# or
pnpm install
npm run dev
# or
yarn dev
# or
pnpm dev
npm run build
# or
yarn build
# or
pnpm build
npm run lint
# or
yarn lint
# or
pnpm lint
Note: The
format
command will also lint the code.
npm run format
# or
yarn format
# or
pnpm format