From 9c92a7c239fca41795d570a13e07c03c80a6fbd6 Mon Sep 17 00:00:00 2001 From: ustbhuangyi <280309453@qq.com> Date: Thu, 11 Jan 2018 02:21:21 +0800 Subject: [PATCH 1/2] Since the merge logic are the same,user can use mixins instead of extends --- src/v2/api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/api/index.md b/src/v2/api/index.md index c95fc5ece7..76da584746 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -977,7 +977,7 @@ type: api Allows declaratively extending another component (could be either a plain options object or a constructor) without having to use `Vue.extend`. This is primarily intended to make it easier to extend between single file components. - This is similar to `mixins`, the difference being that the component's own options takes higher priority than the source component being extended. + This is similar to `mixins`, you can use `mixins` instead of `extends`. - **Example:** From d72f052c4a6615be0f150aaf9830dd2f4e30dee0 Mon Sep 17 00:00:00 2001 From: ustbhuangyi <280309453@qq.com> Date: Wed, 28 Feb 2018 11:32:41 +0800 Subject: [PATCH 2/2] remove the superfluous sentence --- src/v2/api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/api/index.md b/src/v2/api/index.md index 76da584746..c54bfb0430 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -977,7 +977,7 @@ type: api Allows declaratively extending another component (could be either a plain options object or a constructor) without having to use `Vue.extend`. This is primarily intended to make it easier to extend between single file components. - This is similar to `mixins`, you can use `mixins` instead of `extends`. + This is similar to `mixins`. - **Example:**