Skip to content

Commit

Permalink
docs(zh): fix typo in nuxt auto-import (#2108)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernankez committed Apr 3, 2023
1 parent ccdbf38 commit 8d53a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/zh/ssr/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ export default defineNuxtConfig({
'@pinia/nuxt',
{
autoImports: [
// 自动引入 `usePinia()`
// 自动引入 `defineStore()`
'defineStore',
// 自动引入 `usePinia()` 并重命名为 `usePiniaStore()`
// 自动引入 `defineStore()` 并重命名为 `definePiniaStore()`
['defineStore', 'definePiniaStore'],
],
},
Expand Down

0 comments on commit 8d53a42

Please sign in to comment.