File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
documentation/docs/20-commands Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 22title : sv create
33---
44
5- ` sv create ` sets up a new SvelteKit project, with options to [ setup additional functionality] ( sv-add#Official-integrations ) .
5+ ` sv create ` sets up a new SvelteKit project, with options to [ setup additional functionality] ( sv-add#Official-add-ons ) .
66
77## Usage
88
@@ -12,16 +12,6 @@ npx sv create [options] [path]
1212
1313## Options
1414
15- <!-- TODO this flag should probably just be '--types', and the options should be 'ts' or 'jsdoc' -->
16-
17- ### ` --check-types <option> `
18-
19- Whether and how to add typechecking to the project:
20-
21- - ` typescript ` — default to ` .ts ` files and use ` lang="ts" ` for ` .svelte ` components
22- - ` checkjs ` — use [ JSDoc syntax] ( https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html ) for types
23- - ` none ` — no typechecking. Not recommended!
24-
2515### ` --template <name> `
2616
2717Which project template to use:
@@ -30,6 +20,17 @@ Which project template to use:
3020- ` demo ` — showcase app with a word guessing game that works without JavaScript
3121- ` library ` — template for a Svelte library, set up with ` svelte-package `
3222
23+ ### ` --types <option> `
24+
25+ Whether and how to add typechecking to the project:
26+
27+ - ` ts ` — default to ` .ts ` files and use ` lang="ts" ` for ` .svelte ` components
28+ - ` jsdoc ` — use [ JSDoc syntax] ( https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html ) for types
29+
30+ ### ` --no-types `
31+
32+ Prevent typechecking from being added. Not recommended!
33+
3334### ` --no-integrations `
3435
3536<!-- TODO should be renamed to `--no-addons` -->
You can’t perform that action at this time.
0 commit comments