Open mirkoperillo opened 1 year ago
@nikhilraojl could you be interested in this issue ?
@mirkoperillo Sure, I will have a go this weekend. Are there any UI elements currently implemented in vue in the current version of the extension?
Yes absolutely.
You can find them in src/js/app/components
.
A screenshot to give a visual idea where the Vue components are in the UI
The idea is bumping Vue contained in src/js/vendor
to the last stable version and understand if everything continues to work or if there are problems.
I am available for more details or suggestions
@mirkoperillo It seems we can't just use the existing way i.e
package.json
umd
format through build scriptvue.runtime.global.prod
) through requirejs
in app.js
I tried the above with no luck. In vue3 we have to have Vue
as global variable for library components and we have to use the new Vue.createApp({})
constructor to create compnents instead of new Vue({})
. I have updated both but wasn't able to make it work and always got errors
It seems vue3 and requirejs
don't mix well which I am guessing is the issue stackoverflow question
P.S Sorry for the delay was stuck up with some work
It seems vue3 and requirejs don't mix well which I am guessing is the issue stackoverflow question
Interesting, so it is not a smooth replacement. I need to investigate about this.
P.S Sorry for the delay was stuck up with some work
Don't worry. I appreciate every time you dedicate to Resting. Thank you for your initial investigation. It has been useful to understand how to move forward with the roadmap for the project (More details in these notes on my blog)
Currently Resting uses Vue.js 2.6.
The final goal is moving to last new stable version of Vue (3.x). Understand what's side-effect and blocking steps of bumping from current version to new one