Skip to content

Commit 6a059cc

Browse files
authored
Update vue.md
Fixed typos in imported packages + added links to Github repositories with an example of working code integration Overmind with Vue3, Vite and Quasar2 framework.
1 parent 5eaffb3 commit 6a059cc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

views/vue.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are three approaches to connecting Overmind to Vue.
1414
{% tab title="overmind/index.js" %}
1515
```typescript
1616

17-
import { createHooks } from 'overmind-vue/vu3'
17+
import { createHooks } from 'overmind-vue/vue3'
1818

1919
export const config = {
2020
state: {
@@ -33,7 +33,7 @@ export const hooks = createHooks()
3333
```javascript
3434
import { createApp } from 'vue'
3535
import { createOvermind } from 'overmind'
36-
import { withOvermind } from 'overmind-vue/vu3'
36+
import { withOvermind } from 'overmind-vue/vue3'
3737
import { config } from './overmind'
3838
import App from './App.vue'
3939

@@ -142,6 +142,12 @@ If you prefer using JSX, that is also possible:
142142
{% endtab %}
143143
{% endtabs %}
144144

145+
Example application for
146+
147+
* Vue 3 + TypeScript + Overmind with hooks: https://github.com/hipertracker/vue3-overmind
148+
* Vue 3 + TypeScript + Vite + Overmind with hooks: https://github.com/hipertracker/vite-overmind
149+
* Vue 3 + TypeScript + Quasar 2 + Overmind with hooks: https://github.com/hipertracker/quasar2-overmind
150+
145151
## Plugin
146152

147153
Vue has a plugin system that allows us to expose Overmind to all components. This allows minimum configuration and you just use state etc. from any component.

0 commit comments

Comments
 (0)