Sunday, 15 June 2014

coffeescript - Ember-cli coffescript generators for resource -



coffeescript - Ember-cli coffescript generators for resource -

i installed ember-cli-coffeescript on ember app ,renamed router.js file router.coffee(and replaced code coffee) , run

ember generate resource ingredients.

i got error saying

no such file or directory '<path-to-app>/<my-app>/app/router.js'

this happens when i'm trying generate resource. when trying generate route working perfectly, route beingness added within router.coffee file , route , template files beingness generated coffee.

is there solution generate resources coffescript?

looks when generate route or resource need directory '/'

<path-to-app>/<my-app>

instead of

<path-to-app>/<my-app>/app

looking why, that's issue

<update>

known issue

from ember-cli #2116

they've set on ember-cli-coffeescript(ember-cli doesn't back upwards coffeescript generators) #21

coffeescript ember-cli

No comments:

Post a Comment