Skip to content

Commit

Permalink
docs: highlight quickstart lines
Browse files Browse the repository at this point in the history
  • Loading branch information
prazdevs committed Sep 3, 2024
1 parent 0917e2d commit a53b8a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pinia.use(piniaPluginPersistedstate)
When declaring your store, set the new `persist` option to `true`.
::: code-group
```ts [setup syntax]
```ts{11} [setup syntax]
import { defineStore } from 'pinia'
import { ref } from 'vue'
Expand All @@ -57,7 +57,7 @@ export const useStore = defineStore(
},
)
```
```ts [option syntax]
```ts{9} [option syntax]
import { defineStore } from 'pinia'
export const useStore = defineStore('main', {
Expand Down

0 comments on commit a53b8a1

Please sign in to comment.