You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/deployment.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ If you are using the PWA plugin, your app must be served over HTTPS so that [Ser
81
81
cd -
82
82
```
83
83
84
-
#### Using Travis CIfor automatic updates
84
+
#### Using Travis CIfor automatic updates
85
85
86
86
1.Set correct `publicPath`in`vue.config.js` as explained above.
87
87
@@ -332,7 +332,7 @@ npm install now
332
332
```json
333
333
"now-build": "npm run build"
334
334
```
335
-
335
+
336
336
To make a deployment, run `now`.
337
337
338
338
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.
438
438
439
439
2. Create a `Dockerfile` file in the root of your project.
440
440
441
-
```Dockerfile
441
+
```docker
442
442
FROM node:10
443
443
COPY ./ /app
444
444
WORKDIR /app
@@ -454,7 +454,7 @@ Deploy your application using nginx inside of a docker container.
454
454
455
455
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.
456
456
457
-
```gitignore
457
+
```
458
458
**/node_modules
459
459
**/dist
460
460
```
@@ -465,7 +465,7 @@ Deploy your application using nginx inside of a docker container.
465
465
466
466
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.
0 commit comments