Skip to content

Commit

Permalink
docs:edit README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
l-x-f committed Nov 17, 2021
1 parent 0349439 commit d974304
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ In `main.ts`:
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
import App from './App'
import App from './App.vue'

const app = createApp(App)
const store = createPinia()
Expand Down
4 changes: 2 additions & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ pnpm add pinia-persistedstate-plugin

## 使用

In `main.ts`:
`main.ts`:

```ts
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-persistedstate-plugin'
import App from './App'
import App from './App.vue'

const app = createApp(App)
const store = createPinia()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pinia-persistedstate-plugin",
"version": "0.0.2",
"version": "0.0.3",
"description": "A pinia plugin like vuex-persistedstate.",
"types": "dist/index.d.ts",
"license": "MIT",
Expand Down

0 comments on commit d974304

Please sign in to comment.