Update Vercel deployment (#132)
Zeit/Now renamed to Vercel Desktop client no longer supported
This commit is contained in:
parent
f01b6e46e6
commit
752c770ddb
1 changed files with 4 additions and 6 deletions
10
README.md
10
README.md
|
@ -60,23 +60,21 @@ If you're building a single-page app (SPA) with multiple routes, sirv needs to b
|
||||||
|
|
||||||
## Deploying to the web
|
## Deploying to the web
|
||||||
|
|
||||||
### With [now](https://zeit.co/now)
|
### With [Vercel](https://vercel.com)
|
||||||
|
|
||||||
Install `now` if you haven't already:
|
Install `vercel` if you haven't already:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g now
|
npm install -g vercel
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, from within your project folder:
|
Then, from within your project folder:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd public
|
cd public
|
||||||
now deploy --name my-project
|
vercel deploy --name my-project
|
||||||
```
|
```
|
||||||
|
|
||||||
As an alternative, use the [Now desktop client](https://zeit.co/download) and simply drag the unzipped project folder to the taskbar icon.
|
|
||||||
|
|
||||||
### With [surge](https://surge.sh/)
|
### With [surge](https://surge.sh/)
|
||||||
|
|
||||||
Install `surge` if you haven't already:
|
Install `surge` if you haven't already:
|
||||||
|
|
Loading…
Reference in a new issue