-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue Support #49
Comments
Vue is on the radar; priority depends on whether there's enough interest. Meanwhile, see issue #30 for possible workaround. Starting from v2.0.6 beta, dotnetify-react already has optional dependency to full jQuery and depends only on jquery-deferred. In the absence of jQuery, it will use the included jquery-shim. |
Vue is really good, it would be nice to have vue support. I guess we can connect a vm to Vue this way:
Well, it "works", but with a lot of errors in the console. I guess dotnetify is waiting some response from the JavaScript side.
The output is right (MyMessage is a property from the ViewModel). |
Nowhere to vote as such, but wanted to add a big 'thumbs up' to any potential Vue integration. Lots of similarities between Vue and React and the discussions and arguments could go on forever but Vue has a very quick learning curve and is easier to port applications built on similar 'template' style frameworks like Angular. |
I haven't learned Vue yet, but if there's anyone with Vue experience willing to collaborate, we can get this started. I will need your help creating the equivalent of WebApplication.React but with .vue files and vue material UI. |
I'll try to implement something. |
I think this can help. You can add reactive properties to a Vue instance (a Vue instance is like the main react component) after creation. For example, this Vue instance:
Can be re-created this way:
The this.$set function can add reactive properties to the Vue instance. You can try with this html code:
|
Well, it works. From the Hello world demo:
The js file:
But the server time property is not updating. EDIT: It is updating now :) I think that I can create the WebApplication.Vue. |
Very interesting, I'd like to try the same thing with Vue, any progress on this? (I really don't know much React but I did do some Vue recently) |
Hi, it has been a couple of months since last comment -- wondering if anyone has started work on this. I'm leading my .NET team into Vue because of its ease of (incremental) adoption and dotNetify could also be a good fit. Vue stack that I love, FWIW: Vue Vuex Quasar. I wonder if Vuex would make any sense for dotNetify -- anyone have thoughts? |
Hi, I just spent the last week learning Quasar + Vuex and I think it's pretty awesome. I could see doing something like "quasar new store 'controller' " and then figuring out how to dotnetify that. Worth looking into at least. |
Noticed its moved to the planned state on the roadmap, Dsuryd thank you :) There is any chance to be supported at this year? |
Thank you, the target is sometime next month. |
Vue support is provided starting v3.2. |
Hi @dsuryd ,
Any chance you would support Vue.js ? the lib seems to be dependent on jQuery. any chance that dependency be optional?
The text was updated successfully, but these errors were encountered: