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
This paragraph from the READ.me alludes to precisely the issue.
If you find yourself having issues with conditionally including assets your best bet may be to break apart
your manifest files into sections that make sense for your application. For example, if your application is
silo'ed into admin section and user section then it probably makes sense to have a separate manifest
file for each section.
Specifically, I need guidance on the best way to isolate both the "admin" and "front end" sections of my site. If anyone has solved this in an elegant way, the advice would be appreciated.
The text was updated successfully, but these errors were encountered:
Well, you can have two directories in your assets folder. For example 'frontend' and 'backend'. Each of them should have different manifest file, which you can include by javascript_include_tag(). For example javascript_include_tag('backend/manifest') or javascript_include_tag('frontend/manifest'). I my app I have organized assets not exact, but in quite similar way.
This paragraph from the READ.me alludes to precisely the issue.
Specifically, I need guidance on the best way to isolate both the "admin" and "front end" sections of my site. If anyone has solved this in an elegant way, the advice would be appreciated.
The text was updated successfully, but these errors were encountered: