Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
themeConfig: {
repo: 'vuejs/vue-cli',
docsDir: 'docs',
docsBranch: 'dev',
docsBranch: 'docs',
editLinks: true,
sidebarDepth: 3,
locales: {
Expand Down
2 changes: 1 addition & 1 deletion docs/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sidebar: auto

## Global CLI Config

Some global configurations for `@vue/cli`, such as your preferred package manager and your locally saved presets, are stored in a JSON file named `.vuerc` in your home directory. You can edit this file directory with your editor of choice to change the saved options.
Some global configurations for `@vue/cli`, such as your preferred package manager and your locally saved presets, are stored in a JSON file named `.vuerc` in your home directory. You can edit this file directly with your editor of choice to change the saved options.

You can also use the `vue config` command to inspect or modify the global CLI config.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Vue CLI is a full system for rapid Vue.js development, providing:
- Configurable via in-project config file;
- Extensible via plugins
- A rich collection of official plugins integrating the best tools in the frontend ecosystem.
- A full graphical user intefrace to create and manage Vue.js projects.
- A full graphical user interface to create and manage Vue.js projects.

Vue CLI aims to be the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can focus on writing your app instead of spending days wrangling with configurations. At the same time, it still offers the flexibility to tweak the config of each tool without the need for ejecting.

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/html-and-static-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ Internally, we use `file-loader` to determine the final file location with versi

### The `public` Folder

Any static assets placed in the `public` folder will simply be copied and not go through webpack. You need to reference to them using absolute paths.
Any static assets placed in the `public` folder will simply be copied and not go through webpack. You need to reference them using absolute paths.

Note we recommended importing assets as part of your module dependency graph so that they will go through webpack with the following benefits:
Note we recommend importing assets as part of your module dependency graph so that they will go through webpack with the following benefits:

- Scripts and stylesheets get minified and bundled together to avoid extra network requests.
- Missing files cause compilation errors instead of 404 errors for your users.
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ If you have the previous `vue-cli` (1.x or 2.x) package installed globally, you
Vue CLI requires [Node.js](https://nodejs.org/) version 8.9 or above (8.11.0+ recommended). You can manage multiple versions of Node on the same machine with [nvm](https://github.com/creationix/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows).
:::

To install the new package, use on of those commands:
To install the new package, use one of those commands:

``` bash
npm install -g @vue/cli
Expand Down
8 changes: 8 additions & 0 deletions packages/@vue/eslint-config-airbnb/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# @vue/eslint-config-airbnb

> eslint-config-airbnb for vue-cli

This config is specifically designed to be used by `vue-cli` setups
and is not meant for outside use (it can be used but some adaptations
on the user side might be needed - for details see the config file).

A part of its design is that this config may implicitly depend on
other parts of `vue-cli` setups, such as `eslint-plugin-vue` being
extended in the same resulting config.
8 changes: 8 additions & 0 deletions packages/@vue/eslint-config-prettier/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# @vue/eslint-config-prettier

> eslint-config-prettier for vue-cli

This config is specifically designed to be used by `vue-cli` setups
and is not meant for outside use (it can be used but some adaptations
on the user side might be needed - for details see the config file).

A part of its design is that this config may implicitly depend on
other parts of `vue-cli` setups, such as `eslint-plugin-vue` being
extended in the same resulting config.
8 changes: 8 additions & 0 deletions packages/@vue/eslint-config-standard/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# @vue/eslint-config-standard

> eslint-config-standard for vue-cli

This config is specifically designed to be used by `vue-cli` setups
and is not meant for outside use (it can be used but some adaptations
on the user side might be needed - for details see the config file).

A part of its design is that this config may implicitly depend on
other parts of `vue-cli` setups, such as `eslint-plugin-vue` being
extended in the same resulting config.
10 changes: 9 additions & 1 deletion packages/@vue/eslint-config-typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# @vue/eslint-config-typescript

> eslint-config-typescript for vue-cli
> eslint-config-typescript for vue-cli

This config is specifically designed to be used by `vue-cli` setups
and is not meant for outside use (it can be used but some adaptations
on the user side might be needed - for details see the config file).

A part of its design is that this config may implicitly depend on
other parts of `vue-cli` setups, such as `eslint-plugin-vue` being
extended in the same resulting config.
4 changes: 4 additions & 0 deletions packages/@vue/eslint-config-typescript/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
module.exports = {
plugins: ['typescript'],
// Prerequisite `eslint-plugin-vue`, being extended, sets
// root property `parser` to `'vue-eslint-parser'`, which, for code parsing,
// in turn delegates to the parser, specified in `parserOptions.parser`:
// https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
parserOptions: {
parser: require.resolve('typescript-eslint-parser')
},
Expand Down