-
Notifications
You must be signed in to change notification settings - Fork 1.5k
NotFoundError when using stylesheet_pack_tag #378
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
Comments
Did you run or restart |
Yes. And when I run
There's no mention of css. In general, how should one reference css that's included in libraries added with yarn (in node_modules)? |
You would need to import them in your packs @btc. Check this section for linking internal styles - https://github.com/rails/webpacker#linking-to-static-assets // packs/hello_react.js
import 'bootstrap/dist/whatever_bundle.css' Then you will have |
hello_react.css
is inapp/javascript/packs/
Am I doing something wrong? Could the documentation be clearer?
The text was updated successfully, but these errors were encountered: