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 2
2
title : sv create
3
3
---
4
4
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 ) .
6
6
7
7
## Usage
8
8
@@ -12,16 +12,6 @@ npx sv create [options] [path]
12
12
13
13
## Options
14
14
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
-
25
15
### ` --template <name> `
26
16
27
17
Which project template to use:
@@ -30,6 +20,17 @@ Which project template to use:
30
20
- ` demo ` — showcase app with a word guessing game that works without JavaScript
31
21
- ` library ` — template for a Svelte library, set up with ` svelte-package `
32
22
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
+
33
34
### ` --no-integrations `
34
35
35
36
<!-- TODO should be renamed to `--no-addons` -->
You can’t perform that action at this time.
0 commit comments