Skip to content
Merged
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
10 changes: 5 additions & 5 deletions src/guide/composition-api-provide-inject.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Using our `MyMap` component, our provided values can be refactored as the follow

<script>
import { provide } from 'vue'
import MyMarker from './MyMarker.vue
import MyMarker from './MyMarker.vue'

export default {
components: {
Expand Down Expand Up @@ -123,7 +123,7 @@ Using our `MyMap` component, our code can be updated as follows:

<script>
import { provide, reactive, ref } from 'vue'
import MyMarker from './MyMarker.vue
import MyMarker from './MyMarker.vue'

export default {
components: {
Expand Down Expand Up @@ -159,7 +159,7 @@ For example, in the event we needed to change the user's location, we would idea

<script>
import { provide, reactive, ref } from 'vue'
import MyMarker from './MyMarker.vue
import MyMarker from './MyMarker.vue'

export default {
components: {
Expand Down Expand Up @@ -198,7 +198,7 @@ However, there are times where we need to update the data inside of the componen

<script>
import { provide, reactive, ref } from 'vue'
import MyMarker from './MyMarker.vue
import MyMarker from './MyMarker.vue'

export default {
components: {
Expand Down Expand Up @@ -254,7 +254,7 @@ Finally, we recommend using `readonly` on provided property if you want to ensur

<script>
import { provide, reactive, readonly, ref } from 'vue'
import MyMarker from './MyMarker.vue
import MyMarker from './MyMarker.vue'

export default {
components: {
Expand Down