dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

Vue 3 sfc setup example #304

Closed ColonelBundy closed 2 years ago

ColonelBundy commented 2 years ago

Would it be possible to get an example?

Solution:

const state = reactive({
  Something: null,
  SomethingElse: null
});

const example= dotnetify.vue.connect("exampleVM", state)