diff --git a/docs/guide/plugins-and-presets.md b/docs/guide/plugins-and-presets.md index 1cbee3ef0..2dccc27e4 100644 --- a/docs/guide/plugins-and-presets.md +++ b/docs/guide/plugins-and-presets.md @@ -103,7 +103,7 @@ For more information, read the [UI Plugin API](../dev-guide/ui-api.md). ## Presets -A Vue CLI preset is a JSON object that contains pre-defined options and plugins for creating a new project so that the user don't have to go through the prompts to select them. +A Vue CLI preset is a JSON object that contains pre-defined options and plugins for creating a new project so that the user doesn't have to go through the prompts to select them. Presets saved during `vue create` are stored in a configuration file in your user home directory (`~/.vuerc`). You can directly edit this file to tweak / add / delete the saved presets. diff --git a/docs/zh/guide/webpack.md b/docs/zh/guide/webpack.md index f31fc21ac..10ea3e37e 100644 --- a/docs/zh/guide/webpack.md +++ b/docs/zh/guide/webpack.md @@ -38,7 +38,7 @@ module.exports = { ## 链式操作 (高级) -webpack 内部的配置是通过 [webpack-chain](https://github.com/mozilla-neutrino/webpack-chain) 维护的。这个库提供了一个 webpack 原始配置的上层抽象,使其可以定义具名的 loader 规则和具名插件,并有机会在后期进入这些规则并对它们的选项进行修改。 +Vue CLI 内部的 webpack 配置是通过 [webpack-chain](https://github.com/mozilla-neutrino/webpack-chain) 维护的。这个库提供了一个 webpack 原始配置的上层抽象,使其可以定义具名的 loader 规则和具名插件,并有机会在后期进入这些规则并对它们的选项进行修改。 它允许我们更细粒度的控制其内部配置。接下来有一些常见的在 `vue.config.js` 中的 `chainWebpack` 修改的例子。