diff --git a/src/v2/guide/installation.md b/src/v2/guide/installation.md index 2af3bf66e4..23a7bea361 100644 --- a/src/v2/guide/installation.md +++ b/src/v2/guide/installation.md @@ -35,9 +35,9 @@ Recommended: [https://unpkg.com/vue](https://unpkg.com/vue), which will reflect Also available on [jsDelivr](//cdn.jsdelivr.net/vue/latest/vue.js) or [cdnjs](//cdnjs.cloudflare.com/ajax/libs/vue/{{vue_version}}/vue.js), but these two services take some time to sync so the latest release may not be available yet. -## NPM +## npm -NPM is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/). Vue also provides accompanying tools for authoring [Single File Components](single-file-components.html). +npm is the recommended installation method when building large scale applications with Vue. It pairs nicely with module bundlers such as [Webpack](https://webpack.js.org/) or [Browserify](http://browserify.org/). Vue also provides accompanying tools for authoring [Single File Components](single-file-components.html). ``` bash # latest stable @@ -63,7 +63,7 @@ $ npm run dev ## Explanation of Different Builds -In the [`dist/` directory of the NPM package](https://unpkg.com/vue@latest/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them: +In the [`dist/` directory of the npm package](https://unpkg.com/vue@latest/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them: | | UMD | CommonJS | ES Module | | --- | --- | --- | --- | diff --git a/src/v2/guide/migration.md b/src/v2/guide/migration.md index 06f81f4f8a..bf8365f4ab 100644 --- a/src/v2/guide/migration.md +++ b/src/v2/guide/migration.md @@ -1052,7 +1052,7 @@ text.toLowerCase() #### Replacing the `pluralize` Filter -The [pluralize](https://www.npmjs.com/package/pluralize) package on NPM serves this purpose nicely, but if you only want to pluralize a specific word or want to have special output for cases like `0`, then you can also easily define your own pluralize functions. For example: +The [pluralize](https://www.npmjs.com/package/pluralize) package on npm serves this purpose nicely, but if you only want to pluralize a specific word or want to have special output for cases like `0`, then you can also easily define your own pluralize functions. For example: ``` js function pluralizeKnife (count) { diff --git a/src/v2/guide/single-file-components.md b/src/v2/guide/single-file-components.md index 0ab7995e3b..f04619bc20 100644 --- a/src/v2/guide/single-file-components.md +++ b/src/v2/guide/single-file-components.md @@ -54,7 +54,7 @@ Even if you don't like the idea of Single-File Components, you can still leverag With `.vue` components, we're entering the realm of advanced JavaScript applications. That means learning to use a few additional tools if you haven't already: -- **Node Package Manager (NPM)**: Read the [Getting Started guide](https://docs.npmjs.com/getting-started/what-is-npm) through section _10: Uninstalling global packages_. +- **Node Package Manager (npm)**: Read the [Getting Started guide](https://docs.npmjs.com/getting-started/what-is-npm) through section _10: Uninstalling global packages_. - **Modern JavaScript with ES2015/16**: Read through Babel's [Learn ES2015 guide](https://babeljs.io/docs/learn-es2015/). You don't have to memorize every feature right now, but keep this page as a reference you can come back to. diff --git a/src/v2/guide/typescript.md b/src/v2/guide/typescript.md index 7e0d378353..4b459fa1fb 100644 --- a/src/v2/guide/typescript.md +++ b/src/v2/guide/typescript.md @@ -10,11 +10,11 @@ In Vue 2.2 we introduced dist files exposed as ES modules, which will be used by We plan to move all official declarations to use ES-style exports in the future. Please see [Recommended Configuration](#Recommended-Configuration) below on a future-proof setup. -## Official Declaration in NPM Packages +## Official Declaration in npm Packages A static type system can help prevent many potential runtime errors, especially as applications grow. That's why Vue ships with [official type declarations](https://github.com/vuejs/vue/tree/dev/types) for [TypeScript](https://www.typescriptlang.org/) - not only in Vue core, but also for [vue-router](https://github.com/vuejs/vue-router/tree/dev/types) and [vuex](https://github.com/vuejs/vuex/tree/dev/types) as well. -Since these are [published on NPM](https://unpkg.com/vue/types/), and the latest TypeScript knows how to resolve type declarations in NPM packages, this means when installed via NPM, you don't need any additional tooling to use TypeScript with Vue. +Since these are [published on npm](https://unpkg.com/vue/types/), and the latest TypeScript knows how to resolve type declarations in npm packages, this means when installed via npm, you don't need any additional tooling to use TypeScript with Vue. ## Recommended Configuration