diff --git a/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md b/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md index 5fed4b347..3a25f15b1 100644 --- a/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md +++ b/site/content/blog/2017-08-07-the-easiest-way-to-get-started.md @@ -43,12 +43,17 @@ In the terminal, you can instantly create a new project like so: ```bash npx degit sveltejs/template my-svelte-project cd my-svelte-project +# to use TypeScript run: +# node scripts/setupTypeScript.js + npm install npm run dev ``` This will create a new project in the `my-svelte-project` directory, install its dependencies, and start a server on http://localhost:5000. +You can find more information about using TypeScript [here](blog/svelte-and-typescript). + Once you've tinkered a bit and understood how everything fits together, you can fork [sveltejs/template](https://github.com/sveltejs/template) and start doing this instead: ```bash diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index af8afefbb..3c84d6ea1 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -77,6 +77,8 @@ npx degit sveltejs/template my-svelte-project # or download and extract this .zip file cd my-svelte-project +# to use TypeScript run: +# node scripts/setupTypeScript.js npm install npm run dev