ember-cli-rails

Ember-cli-rails No route match for ember's paths

巧了我就是萌 提交于 2019-12-13 02:58:11
问题 In a Rails and Ember project, I decided to use EmberCLI Rails because I want to do integration tests with Capybara and all my favorite testing gems. I installed it and it works when I go to the home page. I added routes on ember like this : import Ember from 'ember' import config from './config/environment' Router = Ember.Router.extend(location: config.locationType) Router.map -> @resource 'users' export default Router When I go on http://localhost:3000/users , I have a no route matches error

Ember Engines inside Rails Engines via ember-cli-rails

别说谁变了你拦得住时间么 提交于 2019-12-12 19:50:54
问题 We have a high modular rails5 app, which is splitted in rails engines over serveral repositories and integrated as ruby gems. Now we want to introduce EmberJS by using ember-cli-rails . The main rails application contains the main ember application in the frontend directory while each of the rails engines contain an ember engine (via ember-engine ) in a frontend directory. How to mount the ember engines of the modules into the main ember engine? 回答1: Due the fact that I've found no other