Skip to content

Instantly share code, notes, and snippets.

@thomasdarimont
Created November 26, 2014 09:26
Show Gist options
  • Save thomasdarimont/227f40929e1c5930b063 to your computer and use it in GitHub Desktop.
Save thomasdarimont/227f40929e1c5930b063 to your computer and use it in GitHub Desktop.
Node.JS with Spring Boot
To throw in my two cents, if you can install node, then Spring Boot also provides super simple support for doing that:
$ mkdir -p src/main/resources/static
$ cd src/main/resources/static
$ npm init (then answer a few questions)
$ npm install --save requirejs
$ npm install --save jquery-steps
From there, the modules are already available as well via Spring Boot's prebuilt paths.
@thomasdarimont
Copy link
Author

WebJars also makes for great eye candy when you built tiny Spring Boot CLI apps and want nothing else.
-> @grab("jquery-steps")

If you're using maven, I highly suggest you check out: https://github.com/eirslett/frontend-maven-plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment