Skip to content
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

Module CSS are not loaded in Webpacker #51

Open
webchroma opened this issue Dec 12, 2023 · 1 comment
Open

Module CSS are not loaded in Webpacker #51

webchroma opened this issue Dec 12, 2023 · 1 comment

Comments

@webchroma
Copy link

Hi,

the styles of the module are not getting loaded in Webpacker and instead get loaded directly in the page but after the main webpacker css file, therefore overwriting the app own styling.

Is it due to this register stylesheet comand missing in the assets.rb?

Decidim::Webpacker.register_stylesheet_import("stylesheets/decidim/your_component/your_component")

thanks piero

@fblupi
Copy link
Member

fblupi commented Jan 22, 2024

Did you run this command? bundle exec rails decidim_alternative_landing:webpacker:install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants