You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use ember-css-modules in our Ember app, and it's a great addon. Thanks for making it!
I tried running the ember-component-template-colocation-migrator on our codebase. The codemod moved our .hbs files from app/templates/components to app/components as intended. However, our CSS module files are still in the app/styles directory. Ideally we'd have these colocated in app/components alongside the .js and .hbs files.
Has anyone encountered this problem before? I'm wondering if there is a codemod that I could use to move our .css files into app/components? If not, I may have to write one myself.
The text was updated successfully, but these errors were encountered:
I don't know of one, but agreed it would be helpful!
Hopefully doing it for styles would be a bit simpler than the template migrator, since the latter has to account for potential cases where things that look like component templates are also used as partials and other odd cases like that.
We use ember-css-modules in our Ember app, and it's a great addon. Thanks for making it!
I tried running the ember-component-template-colocation-migrator on our codebase. The codemod moved our
.hbs
files fromapp/templates/components
toapp/components
as intended. However, our CSS module files are still in theapp/styles
directory. Ideally we'd have these colocated inapp/components
alongside the.js
and.hbs
files.Has anyone encountered this problem before? I'm wondering if there is a codemod that I could use to move our
.css
files intoapp/components
? If not, I may have to write one myself.The text was updated successfully, but these errors were encountered: