mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 01:15:58 +00:00
docs: remove extra spaces (#2592)
This commit is contained in:
parent
c8322c4e53
commit
70fe5e72e6
@ -158,7 +158,7 @@ In order to access Vuex store instance, you can use `useNuxtApp().$store`.
|
||||
```diff
|
||||
- import { useStore } from '@nuxtjs/composition-api`
|
||||
+ import { useNuxtApp } from '#app'
|
||||
+ const { $store } = useNuxtApp()
|
||||
+ const { $store } = useNuxtApp()
|
||||
```
|
||||
|
||||
```vue
|
||||
@ -175,7 +175,7 @@ You can access injected helpers using `useNuxtApp`.
|
||||
```diff
|
||||
- import { useContext } from '@nuxtjs/composition-api`
|
||||
+ import { useNuxtApp } from '#app'
|
||||
+ const { $axios } = useNuxtApp()
|
||||
+ const { $axios } = useNuxtApp()
|
||||
```
|
||||
|
||||
```vue
|
||||
|
Loading…
Reference in New Issue
Block a user