mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-22 06:15:18 +00:00
update instructions for deployment to Now (#192)
This commit is contained in:
@@ -85,13 +85,15 @@ Sapper uses Rollup or webpack to provide code-splitting and dynamic imports, as
|
|||||||
|
|
||||||
To start a production version of your app, run `npm run build && npm start`. This will disable live reloading, and activate the appropriate bundler plugins.
|
To start a production version of your app, run `npm run build && npm start`. This will disable live reloading, and activate the appropriate bundler plugins.
|
||||||
|
|
||||||
You can deploy your application to any environment that supports Node 8 or above. As an example, to deploy to [Now](https://zeit.co/now), run these commands:
|
You can deploy your application to any environment that supports Node 10 or above. As an example, to deploy to [ZEIT Now](https://zeit.co/now) when using `sapper export`, run these commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g now
|
npm install -g now
|
||||||
now
|
now
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If your app can't be exported to a static site, you can use the [now-sapper](https://github.com/thgh/now-sapper) builder. You can find instructions on how to do so in its [README](https://github.com/thgh/now-sapper#basic-usage).
|
||||||
|
|
||||||
|
|
||||||
## Using external components
|
## Using external components
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user