-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add namespaced packs feature to readme #235
Add namespaced packs feature to readme #235
Conversation
@kuroda Is this looks fine to you - documentation for your PR? |
README.md
Outdated
```erb | ||
<%# app/views/layouts/application.html.erb %> | ||
<%= javascript_pack_tag 'admin/dashboard' %> | ||
<%= stylesheet_pack_tag 'app/calendar' %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should simply put <%= javascript_pack_tag 'app/calendar' %>
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, will fix 👍
Well, it seems to be subtlely different from my intention. I want to emphasize that we can have multiple JavaScript entry points with the same name:
and reference them in your views like this:
and
|
@kuroda got it 👍 thanks |
@kuroda Updated the content. Reads fine to you? |
@gauravtiwari It seems to be perfect. |
Related to #201