mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
Need to use branch
- fix port
This commit is contained in:
@@ -49,11 +49,14 @@
|
||||
|
||||
<div style="grid-area: start; display: flex; flex-direction: column; min-width: 0" slot="how">
|
||||
<pre class="language-bash" style="margin: 0 0 1em 0; min-width: 0; min-height: 0">
|
||||
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
|
||||
</pre>
|
||||
|
||||
<p class="cta"><a rel="prefetch" href="docs">Learn Sapper</a></p>
|
||||
|
||||
Reference in New Issue
Block a user