Skip to content

Commit

Permalink
fix the syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua1988 committed Dec 10, 2023
1 parent 8f0809f commit abb4d84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/vuex/concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ export const store = new Vuex.Store({
<code-block title="Vue 3">
```js
// store.js
import Vue from 'vue';
import Vuex from 'vuex';
import { createStore } from 'vuex'

export const store = createStore({
// ..
Expand All @@ -86,7 +85,7 @@ import { store } from './store.js';

new Vue({
store: store
})
});
```
</code-block>

Expand Down

0 comments on commit abb4d84

Please sign in to comment.