You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'll hopefully be ~4mb once compiled/minified (the other existing web workers for Monaco are) but if done right, should only requested when the editor calls for that language. It'll be held in memory while NR editor is open & should be cached for future reloads.
IE - could either onpaletteadd cause it to be loaded - or maybe an npm post install script to move worker into correct place to be picked up automatically - then again if it really is only 4MB - what's another bit of bloat between friends...
(Does seem like a useful thing to help Dashboard2)
TLDR:
PR2290 adds the vue and vuetify support in the template (attributes, enums, links to vuetify docs etc). a follow up PR will add support for the script and style blocks to get full rich editing (with support for this.send() awareness and other stuff dashboard presents in the vue code)
Activity
dceejay commentedon Feb 12, 2024
Does this volar library mentioned (13MB) get installed on every load ? or only if you edit dashboard ?
Steve-Mcl commentedon Feb 12, 2024
It'll hopefully be ~4mb once compiled/minified (the other existing web workers for Monaco are) but if done right, should only requested when the editor calls for that language. It'll be held in memory while NR editor is open & should be cached for future reloads.
dceejay commentedon Feb 12, 2024
can it be added as (a plugin?) part of the dashboard2 install ?
Steve-Mcl commentedon Feb 12, 2024
Hmmmm. Maaaaybe. I mean anything is possible. Would need to be coordinated between the 2.
Will give it some thought.
dceejay commentedon Feb 12, 2024
IE - could either onpaletteadd cause it to be loaded - or maybe an npm post install script to move worker into correct place to be picked up automatically - then again if it really is only 4MB - what's another bit of bloat between friends...
(Does seem like a useful thing to help Dashboard2)
joepavitt commentedon Apr 4, 2024
Can vouch for the value on Dashboard 2.0 here - we're getting people ask for it daily.
Steve-Mcl commentedon Oct 11, 2026
progress: FlowFuse/node-red-dashboard#2290
TLDR:
PR2290 adds the vue and vuetify support in the template (attributes, enums, links to vuetify docs etc). a follow up PR will add support for the script and style blocks to get full rich editing (with support for
this.send()awareness and other stuff dashboard presents in the vue code)Steve-Mcl commentedon Oct 11, 2026
Demo gif in this comment: FlowFuse/node-red-dashboard#2291 (comment)