From f10b941c4ea657880c5c3890094a002341e0ff79 Mon Sep 17 00:00:00 2001 From: ziga Date: Thu, 2 May 2019 20:37:11 -0400 Subject: [PATCH 1/2] Fix template --- site/src/routes/index.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index 62f8281..dd5db07 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -49,8 +49,8 @@
-npx degit sveltejs/template my-svelte-project
-cd my-svelte-project
+npx degit sveltejs/sapper-template my-sapper-project
+cd my-sapper-project
 
 npm install
 npm run dev & open http://localhost:5000
@@ -58,4 +58,4 @@ npm run dev & open http://localhost:5000
 
 		

Learn Sapper

- \ No newline at end of file + From 1ad27573c6155f7ecfe66a7573ecfb6e436eb656 Mon Sep 17 00:00:00 2001 From: ziga Date: Thu, 2 May 2019 20:41:11 -0400 Subject: [PATCH 2/2] Need to use branch - fix port --- site/src/routes/index.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index dd5db07..9b606e5 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -49,11 +49,14 @@
-npx degit sveltejs/sapper-template my-sapper-project
-cd my-sapper-project
+# for Rollup
+npx degit sveltejs/sapper-template#rollup my-app
+# for webpack
+npx degit sveltejs/sapper-template#webpack my-app
+cd my-app
 
 npm install
-npm run dev & open http://localhost:5000
+npm run dev & open http://localhost:3000
 		

Learn Sapper