Skip to content

Commit cc06091

Browse files
committed
docs: fix syntax highlighting
1 parent 0473432 commit cc06091

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guide/deployment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ If you are using the PWA plugin, your app must be served over HTTPS so that [Ser
8181
cd -
8282
```
8383

84-
#### Using Travis CI for automatic updates
84+
#### Using Travis CI for automatic updates
8585

8686
1. Set correct `publicPath` in `vue.config.js` as explained above.
8787

@@ -332,7 +332,7 @@ npm install now
332332
```json
333333
"now-build": "npm run build"
334334
```
335-
335+
336336
To make a deployment, run `now`.
337337

338338
If you want your deployment aliased, run `now --target production` instead.
@@ -438,7 +438,7 @@ Deploy your application using nginx inside of a docker container.
438438
439439
2. Create a `Dockerfile` file in the root of your project.
440440
441-
```Dockerfile
441+
```docker
442442
FROM node:10
443443
COPY ./ /app
444444
WORKDIR /app
@@ -454,7 +454,7 @@ Deploy your application using nginx inside of a docker container.
454454
455455
Setting up the `.dockerignore` file prevents `node_modules` and any intermediate build artifacts from being copied to the image which can cause issues during building.
456456
457-
```gitignore
457+
```
458458
**/node_modules
459459
**/dist
460460
```
@@ -465,7 +465,7 @@ Deploy your application using nginx inside of a docker container.
465465
466466
The following is a simple `nginx` configuration that serves your vue project on port `80`. The root `index.html` is served for `page not found` / `404` errors which allows us to use `pushState()` based routing.
467467
468-
```text
468+
```nginx
469469
user nginx;
470470
worker_processes 1;
471471
error_log /var/log/nginx/error.log warn;

0 commit comments

Comments
 (0)