From: Brandon Dash <61053131+Debbl@users.noreply.github.com> Date: Thu, 9 Feb 2023 16:07:36 +0000 (+0800) Subject: docs: syntax error of import statement (#1989) X-Git-Tag: @pinia/nuxt@0.4.7~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8136ce2f8885099179fb1ca142db922f014a19c9;p=thirdparty%2Fvuejs%2Fpinia.git docs: syntax error of import statement (#1989) --- diff --git a/packages/docs/core-concepts/actions.md b/packages/docs/core-concepts/actions.md index a68ee338..3ba5cb5d 100644 --- a/packages/docs/core-concepts/actions.md +++ b/packages/docs/core-concepts/actions.md @@ -120,7 +120,7 @@ For the following examples, you can assume the following store was created: // Example File Path: // ./src/stores/counter.js -import { defineStore } from 'pinia', +import { defineStore } from 'pinia' export const useCounterStore = defineStore('counter', { state: () => ({ diff --git a/packages/docs/zh/core-concepts/actions.md b/packages/docs/zh/core-concepts/actions.md index 3acbb9c3..790a2275 100644 --- a/packages/docs/zh/core-concepts/actions.md +++ b/packages/docs/zh/core-concepts/actions.md @@ -119,7 +119,7 @@ export default { // 示例文件路径: // ./src/stores/counter.js -import { defineStore } from 'pinia', +import { defineStore } from 'pinia' const useCounterStore = defineStore('counter', { state: () => ({