Skip to content

Refactor Mixins page into a more thorough Component Composition page #1221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ alias:
guide/migration-vue-router.html: v2/guide/migration-vue-router.html
guide/migration-vuex.html: v2/guide/migration-vuex.html
guide/migration.html: v2/guide/migration.html
guide/mixins.html: v2/guide/mixins.html
guide/mixins.html: v2/guide/composition.html
v2/guide/mixins.html: v2/guide/composition.html
guide/plugins.html: v2/guide/plugins.html
guide/reactivity.html: v2/guide/reactivity.html
guide/render-function.html: v2/guide/render-function.html
Expand Down
8 changes: 5 additions & 3 deletions src/v2/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type: api

The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context Vue instance is passed as the third argument.

- **See also:** [Custom Option Merging Strategies](../guide/mixins.html#Custom-Option-Merge-Strategies)
- **See also:** [Custom Merge Strategies](../guide/composition.html#Custom-Merge-Strategies)

### devtools

Expand Down Expand Up @@ -366,7 +366,7 @@ type: api

Apply a mixin globally, which affects every Vue instance created afterwards. This can be used by plugin authors to inject custom behavior into components. **Not recommended in application code**.

- **See also:** [Global Mixin](../guide/mixins.html#Global-Mixin)
- **See also:** [Global Mixins](../guide/composition.html#Global-Mixins)

<h3 id="Vue-compile">Vue.compile( template )</h3>

Expand Down Expand Up @@ -950,7 +950,7 @@ type: api
// => 2
```

- **See also:** [Mixins](../guide/mixins.html)
- **See also:** [Mixins](../guide/composition.html#Mixins)

### extends

Expand All @@ -974,6 +974,8 @@ type: api
}
```

- **See also:** [Extension](../guide/composition.html#Extension)

### provide / inject

> New in 2.2.0+
Expand Down
Loading