angular-rails-templates: templates are not found

前端 未结 4 950
粉色の甜心
粉色の甜心 2021-01-07 04:08

I have a rails application, using angularjs for the client side development. I try to load a template located in `app/assets/javascripts/templates/\':

myApp         


        
4条回答
  •  耶瑟儿~
    2021-01-07 04:36

    My problem has been a sprockets incompatibility. Version 2.1.3 works though so I put this in my Gemfile:

    gem 'sprockets', '2.12.3'
    

    And I ran bundle update sprockets and it's all peachy.

提交回复
热议问题