You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 28, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,10 @@ Navigate to [localhost:5000](http://localhost:5000). You should see your app run
35
35
36
36
By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`.
37
37
38
+
<<<<<<< HEAD
39
+
=======
40
+
If you're using [Visual Studio Code](https://code.visualstudio.com/) we recommend installing the official extension [Svelte for VS Code](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense.
41
+
>>>>>>> template/master
38
42
39
43
## Building and running in production mode
40
44
@@ -57,6 +61,7 @@ If you're building a single-page app (SPA) with multiple routes, sirv needs to b
57
61
"start":"sirv public --single"
58
62
```
59
63
64
+
<<<<<<< HEAD
60
65
61
66
## Deploying to the web
62
67
@@ -66,17 +71,47 @@ Install `now` if you haven't already:
66
71
67
72
```bash
68
73
npm install -g now
74
+
=======
75
+
## Using TypeScript
76
+
77
+
This template comes with a script to set up a TypeScript development environment, you can run it immediately after cloning the template with:
78
+
79
+
```bash
80
+
node scripts/setupTypeScript.js
81
+
```
82
+
83
+
Or remove the script via:
84
+
85
+
```bash
86
+
rm scripts/setupTypeScript.js
87
+
```
88
+
89
+
## Deploying to the web
90
+
91
+
### With [Vercel](https://vercel.com)
92
+
93
+
Install `vercel`if you haven't already:
94
+
95
+
```bash
96
+
npm install -g vercel
97
+
>>>>>>> template/master
69
98
```
70
99
71
100
Then, from within your project folder:
72
101
73
102
```bash
74
103
cd public
104
+
<<<<<<< HEAD
75
105
now deploy --name my-project
76
106
```
77
107
78
108
As an alternative, use the [Now desktop client](https://zeit.co/download) and simply drag the unzipped project folder to the taskbar icon.
0 commit comments