Skip to content

VueJS+Vite example (using dev-server / build step) #211

Discussion options

You must be logged in to vote

Hi, thanks for reaching out and sorry for the delayed response.

I would love to have a vite config that just works! If you can work it out, please do share so that I can put it into the docs.

Unfortunately, I don't use VueJS any more so while I can get the basic build config done, I don't have the knowledge to know how to configure Vite to avoid the need for changing things in your front-end code. I believe that it might be possible and I've had a few goes at it but I've not managed to achieve it.

I think that Svelte works only because you can continue to use Node-RED as the server but Svelte's dev server still makes a connection somehow and so manages the reload of the page after saving …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TotallyInformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants