mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-20 06:15:15 +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">
|
<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">
|
<pre class="language-bash" style="margin: 0 0 1em 0; min-width: 0; min-height: 0">
|
||||||
npx degit sveltejs/sapper-template my-sapper-project
|
# for Rollup
|
||||||
cd my-sapper-project
|
npx degit sveltejs/sapper-template#rollup my-app
|
||||||
|
# for webpack
|
||||||
|
npx degit sveltejs/sapper-template#webpack my-app
|
||||||
|
cd my-app
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
npm run dev & open http://localhost:5000
|
npm run dev & open http://localhost:3000
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p class="cta"><a rel="prefetch" href="docs">Learn Sapper</a></p>
|
<p class="cta"><a rel="prefetch" href="docs">Learn Sapper</a></p>
|
||||||
|
|||||||
Reference in New Issue
Block a user