Skip to content

phaminhieuu/create-threes

Repository files navigation

create-threes

Scaffolding new Three.js project

With NPM:

npm create threes@latest

With Yarn:

yarn create threes

With PNPM:

pnpm create threes

With Bun

bun create threes

create-threes automatically runs in interactive mode, but you can also specify your project name and template with command line arguments.

# npm
npm create threes@latest threes-project -- --template basic

# yarn
yarn create threes threes-project --template basic

# pnpm
pnpm create threes threes-project --template basic

# bun
bun create threes threes-project --template basic

Check out the full list of example templates, available on GitHub.

CLI Flags

May be provided in place of prompts

Name Description
--help (-h) Display available flags.
--framework (-f) Choose framework: vanilla / react
--template <name> (-tmpl <name>) Specify your template.
--typescript (-ts) Using typescript.
--install (-g) Install dependencies.
--git (-g) Initialize git repo.

About

A CLI for scaffolding new Three.js project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published