Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 1.33 KB

README.md

File metadata and controls

80 lines (61 loc) · 1.33 KB

solid-three

solid-three

pnpm

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.

Template

This repo is a template for creating a new SolidJS solid-three project.

Features

  • Vite
  • SolidJS
  • TypeScript
  • ESLint
  • Prettier
  • PNPM
  • Linting and Formatting

Quick start

If you use VSCode, open the workspace and install the recommended extensions.

Then, run the following command:

npm install
# or
yarn
# or
pnpm install

Development

npm run dev
# or
yarn dev
# or
pnpm dev

Build

npm run build
# or
yarn build
# or
pnpm build

Linting and Formatting

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