Skip to content

Commit

Permalink
docs(deployment): add bash highlighting to code blocks (vuejs#2841)
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezsanchez authored and haoqunjiang committed Nov 1, 2018
1 parent bef5942 commit c33603d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/guide/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ Create a new Firebase project on your [Firebase console](https://console.firebas
Make sure you have installed [firebase-tools](https://github.com/firebase/firebase-tools) globally:
```
```bash
npm install -g firebase-tools
```
From the root of your project, initialize `firebase` using the command:
```
```bash
firebase init
```
Expand Down Expand Up @@ -190,7 +190,7 @@ Run `npm run build` to build your project.

To deploy your project on Firebase Hosting, run the command:

```
```bash
firebase deploy --only hosting
```

Expand All @@ -202,7 +202,11 @@ Please refer to the [Firebase Documentation](https://firebase.google.com/docs/ho

### Now

1. Install the Now CLI globally: `npm install -g now`
1. Install the Now CLI globally:

```bash
npm install -g now
```

2. Add a `now.json` file to your project root:

Expand Down Expand Up @@ -256,7 +260,7 @@ To deploy with [Surge](http://surge.sh/) the steps are very straightforward.

First you would need to build your project by running `npm run build`. And if you haven't installed Surge's command line tool, you can simply do so by running the command:

```
```bash
npm install --global surge
```

Expand Down

0 comments on commit c33603d

Please sign in to comment.