Skip to content

Commit babacc3

Browse files
committed
NPM and Nginx same as vuejs.org documentation
Signed-off-by: Bruno Lesieur <[email protected]>
1 parent a0d86e7 commit babacc3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

en/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ See [Introducing the Server Bundle](./bundle-renderer.md) and [Build Configurati
151151
- 2.2.0+
152152
- only used in `createBundleRenderer`
153153

154-
Explicitly declare the base directory for the server bundle to resolve `node_modules` dependencies from. This is only needed if your generated bundle file is placed in a different location from where the externalized npm dependencies are installed, or your `vue-server-renderer` is npm-linked into your current project.
154+
Explicitly declare the base directory for the server bundle to resolve `node_modules` dependencies from. This is only needed if your generated bundle file is placed in a different location from where the externalized NPM dependencies are installed, or your `vue-server-renderer` is NPM-linked into your current project.
155155

156156
- #### `cache`
157157

en/basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
npm install vue vue-server-renderer --save
77
```
88

9-
We will be using npm throughout the guide, but feel free to use [Yarn](https://yarnpkg.com/en/) instead.
9+
We will be using NPM throughout the guide, but feel free to use [Yarn](https://yarnpkg.com/en/) instead.
1010

1111
#### Notes
1212

en/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Although Vue's SSR is quite fast, it can't match the performance of pure string-
66

77
A server-rendered app in most cases relies on external data, so the content is dynamic by nature and cannot be cached for extended periods. However, if the content is not user-specific (i.e. for the same URL it always renders the same content for all users), we can leverage a strategy called [micro-caching](https://www.nginx.com/blog/benefits-of-microcaching-nginx/) to drastically improve our app's capability of handling high traffic.
88

9-
This is usually done at the nginx layer, but we can also implement it in Node.js:
9+
This is usually done at the Nginx layer, but we can also implement it in Node.js:
1010

1111
``` js
1212
const microCache = LRU({

en/css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module.exports = {
8181

8282
## Importing Styles from Dependencies
8383

84-
A few things to take note when importing CSS from an npm dependency:
84+
A few things to take note when importing CSS from an NPM dependency:
8585

8686
1. It should not be externalized in the server build.
8787

0 commit comments

Comments
 (0)