I'm trying to use Angular2 with Springboot, but I can't set them together.
I first started a springboot project, and then tried to follow the Angular 2 Tour of Heroes by johnpapa and run
static folder. Your build process should bundle all the necessary modules.
node_modules is used only during build.
2) Do not copy
node_modules into static folder
3) Remove sources from
static folder. That one is meant only for generated bundle + some static PROD files like