From abb4d84a80ed235a66e9ee8f0c274572b0ce9ea6 Mon Sep 17 00:00:00 2001 From: joshua1988 Date: Sun, 10 Dec 2023 14:51:36 +0900 Subject: [PATCH] fix the syntax error --- docs/vuex/concept.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/vuex/concept.md b/docs/vuex/concept.md index 71b541d17..44c83ed01 100644 --- a/docs/vuex/concept.md +++ b/docs/vuex/concept.md @@ -63,8 +63,7 @@ export const store = new Vuex.Store({ ```js // store.js -import Vue from 'vue'; -import Vuex from 'vuex'; +import { createStore } from 'vuex' export const store = createStore({ // .. @@ -86,7 +85,7 @@ import { store } from './store.js'; new Vue({ store: store -}) +}); ```