Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/framework/vue/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ id: quick-start
The basic vue app example to get started with the TanStack vue-store.

**App.vue**
```html
```vue
<script setup>
import Increment from './Increment.vue';
import Display from './Display.vue';
Expand Down Expand Up @@ -43,7 +43,7 @@ export function updateState(animal) {
```

**Display.vue**
```html
```vue
<script setup>
import { useStore } from '@tanstack/vue-store';
import { store } from './store';
Expand All @@ -59,7 +59,7 @@ const count = useStore(store, (state) => state[props.animal]);
```

**Increment.vue**
```html
```vue
<script setup>
import { store, updateState } from './store';

Expand Down