Spring Boot App with vue.js/any frontend
Hi there,
we are creating a Spring Boot app with a (vue.js) javascript frontend.
the modules, simplyfied are strucured as follows
- main
— frontend
— backend
Using Eclipse + Visual Studio Code is insane fast when the project has been started in eclipse for spring boot and npm run watch in visual studio code. hot code replacement for the UI-stuff is fast and stable.
Using intelliJ only gives me a hard time, having this feature, too.
i've tried using file watchers (which is imperformant as hell → e.g. trigger prettifier, which can be done elsewhere)
Now i am using live edit with “javascript, html and css” which does exactly nothing.
for instance, i am able to debug js/vue.js.
And maybe this helps:
- i have to start npm run watch first
- then spring boot app.
if i change the sequence, spring boot first, then npm run watch i am getting an whitelabel error page (error 500).
the eclipse + visual studio users are way faster with this reload/start task….I've looked up many things but nothings really works satisifiying.
Please, any ideas for a stable configuration? :D
Please sign in to leave a comment.
Live edit is not supported for vue.js.
For the Spring app hot reload, see https://www.jetbrains.com/help/idea/updating-applications-on-application-servers.html and https://stackoverflow.com/a/61416076/104891.