1
- # svelte -starter
1
+ # sveltekit -starter
2
2
3
3
> Opinionated starter template for SvelteKit
4
4
@@ -20,24 +20,24 @@ This combo-patcher uses [zx](https://github.com/google/zx), so make sure that's
20
20
run:
21
21
22
22
```
23
- $ zx --install https://raw.githubusercontent.com/zerodevx/sveltekit-starter/main/index.mjs <app-name> [flags]
23
+ $ zx --install https://raw.githubusercontent.com/zerodevx/sveltekit-starter/main/index.js <app-name> [flags]
24
24
```
25
25
26
- This generates the starter based on the latest SvelteKit decisions, then saves the output to
26
+ This generates the starter based on the last known SvelteKit decisions, then saves the output to
27
27
` /app-name ` .
28
28
29
29
### Flags
30
30
31
31
| Flag | Type | Default | Description |
32
32
| ---- | -------------------------------------- | ---------- | ---------------------------------- |
33
- | -o | boolean | false | Overwrite existing path if exists. |
33
+ | -o | boolean | false | Overwrite existing path if exists |
34
34
| -t | ('skeleton'\| 'skeletonlib'\| 'default') | 'skeleton' | Base template from ` create-svelte ` |
35
35
36
36
## Opinions
37
37
38
- ### SvelteKit
38
+ ### Base
39
39
40
- Base skeleton ` create-svelte ` template with JSDoc+Prettier+ESLint+Playwright .
40
+ Base ` create-svelte ` skeleton template with ` jsdoc ` , ` prettier ` , ` eslint ` and ` playwright ` .
41
41
42
42
### Tailwind CSS
43
43
@@ -50,6 +50,7 @@ both well, but spaces display better outside IDEs (I'm looking at you Github).
50
50
51
51
``` json
52
52
{
53
+ // ...
53
54
"printWidth" : 100 ,
54
55
"useTabs" : false ,
55
56
"semi" : false ,
@@ -77,7 +78,7 @@ module.exports = {
77
78
78
79
### Static site setup
79
80
80
- Seriously, don't use SSR unless you really need it . Installs ` adapter-static ` and adds sensible
81
+ Seriously, don't use SSR unless you really need to . Installs ` adapter-static ` and adds sensible
81
82
defaults.
82
83
83
84
## License
0 commit comments