This is a composer for svelte-compose and is used to add Threlte to your svelte/kit project.
You can find all options for this composer on this site. We will only provide a short breakdown of the composer features here.
Basic usage
npx @svelte-compose/threlte@latest
In case you already have a directory in mind, you can use this:
npx @svelte-compose/threlte@latest --path ./your-project
-
addDemo
(default: false) - Should we add a minimalistic demo?
Option syntax
npx @svelte-compose/threlte@latest --key value
Specific example
npx @svelte-compose/threlte@latest --addDemo false
You can combine as many options as you want. The usage of options is optional. If you don't specify an option value via the command line, the CLI will ask you the questions interactively.