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
I'm not sure if this is the appropriate venue for this comment/question; if not could you point me to the right direction?
It seems odd to me to have images and style sheet sources living together with javascripts under the app/javascripts directory.
That is why, in every new project, the first thing I do is rename app/javascripts to app/frontend. It seems more natural to me to have the following directory structure:
My impression is that Rails 6 will unify the asset pipeline and Webpacker into a single asset director, which would be ideal. But for now, I feel like it hurts my brain less to do make this change in new projects, and I was wondering if anyone else felt this pain.
The text was updated successfully, but these errors were encountered:
ryenski
changed the title
Change location of javascript source directory
Change default location of javascript source directory
Apr 2, 2018
I'm not sure if this is the appropriate venue for this comment/question; if not could you point me to the right direction?
It seems odd to me to have images and style sheet sources living together with javascripts under the app/javascripts directory.
That is why, in every new project, the first thing I do is rename app/javascripts to app/frontend. It seems more natural to me to have the following directory structure:
My impression is that Rails 6 will unify the asset pipeline and Webpacker into a single asset director, which would be ideal. But for now, I feel like it hurts my brain less to do make this change in new projects, and I was wondering if anyone else felt this pain.
The text was updated successfully, but these errors were encountered: