docs: various fixes and improvements (#3546)

This commit is contained in:
Alexey Pyltsyn 2020-10-07 13:39:47 +03:00 committed by GitHub
parent 2e9854964d
commit 9134b1396b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 230 additions and 225 deletions

View file

@ -366,13 +366,13 @@ Deploy your app in a matter of seconds using surge with the following steps:
npm install --g surge
```
1. To build the static files of your site for production in the root directory of your project, run:
2. To build the static files of your site for production in the root directory of your project, run:
```bash
npm run build
```
1. Then, run this command inside the root directory of your project:
3. Then, run this command inside the root directory of your project:
```bash
surge build/
@ -380,7 +380,7 @@ surge build/
First-time users of Surge would be prompted to create an account from the command line(happens only once).
Confirm that the site you want to publish is in the `build` directory, a randomly generated subdomain `*.surge.sh subdomain` is always given(which can be edited).
Confirm that the site you want to publish is in the `build` directory, a randomly generated subdomain `*.surge.sh subdomain` is always given (which can be edited).
### Using your domain