I just made the move from Angular 1 to 2, and now I am going to create a spring mvc maven webapp with angular2 for the front-end side of it.
But everywhere on the internet I see people using node.js for the necessary libraries & plugins. Is there a way I can just use maven dependencies for this?
App structure:
_ main
_ java
_ resources
_ webapp
_ components
_ app.component.ts
_ img
_ WEB-INF
_ index.html
_ main.ts
main.ts
//getting an error on the bootstrap import
//because the angular2 folders aren't there because there is no node
import {bootstrap} from 'angular2/platform/browser'
import {AppComponent} from './components/app.component.ts'
bootstrap(AppComponent);