Munir Hoque
Munir Hoque

Reputation: 365

How to write Angular 2 code inside Rails application

I am a complete novice in Ruby on Rails. Just have learned some CRUD functionalities with RoR. I am also very new in Angualr 2 and currently learning it.

I have seen RoR has it's own HTML template engine just like Angular.

My question is how can I use my Angular 2 knowledge (very little knowledge indeed) to create front end of RoR application?

I am using Gulp as transpiler for Typescript. Can I use the same in RoR?

Is there any seed project with Angular 2 and Rails 4 so that I can grab quickly?

Upvotes: 3

Views: 2478

Answers (1)

Jason Swett
Jason Swett

Reputation: 45094

I would recommend using Angular CLI. Here's an Angular/Rails tutorial I wrote that uses Angular CLI.

If you want to use an Angular 2 seed, there's a tutorial for that too, but that's not what I usually do.

Upvotes: 3

Related Questions