Skip to content

Add vue language server support #9

Open

Description

@Steve-Mcl

Add support for vue syntax checking - goes hand in hand with Dashboard 2.0 which is vue based.

See here for details: https://discourse.nodered.org/t/weather-card-strugguling-with-methods/85434/6?u=steve-mcl

Activity

  1. dceejay commented on Feb 12, 2024

    @dceejay
    Member

    Does this volar library mentioned (13MB) get installed on every load ? or only if you edit dashboard ?

  2. Steve-Mcl commented on Feb 12, 2024

    @Steve-Mcl
    CollaboratorAuthor

    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.

  3. dceejay commented on Feb 12, 2024

    @dceejay
    Member

    can it be added as (a plugin?) part of the dashboard2 install ?

  4. Steve-Mcl commented on Feb 12, 2024

    @Steve-Mcl
    CollaboratorAuthor

    Hmmmm. Maaaaybe. I mean anything is possible. Would need to be coordinated between the 2.

    Will give it some thought.

  5. dceejay commented on Feb 12, 2024

    @dceejay
    Member

    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)

  6. joepavitt commented on Apr 4, 2024

    @joepavitt

    (Does seem like a useful thing to help Dashboard2)

    Can vouch for the value on Dashboard 2.0 here - we're getting people ask for it daily.

  7. Steve-Mcl commented on Oct 11, 2026

    @Steve-Mcl
    CollaboratorAuthor

    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)

  8. Steve-Mcl commented on Oct 11, 2026

    @Steve-Mcl
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions