Ask A Question

Notifications

You’re not receiving notifications from this thread.

Angular 8 with Rails 6?

Quentin Robinson asked in Javascript

I'm working on getting Angular 8 working with Webpacker and Rails 6 and almost everything is working except for template rendering. When I go to the app and inspect, I can see the component selector tag there (<hello-angular></hello-angular>) but for some reason the actual template.html isn't rendering at all. Any ideas would be greatly appreciated.

Quentin

Reply

The same is happening to me. Have you found any solution?

Reply

the problem is related to html-loader, Html-loader version used should be noted, "0.5.5"
you can try this project : https://github.com/tadhao/angular_on_rails

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.