I am working on the new theme using webpack building css and js. There is no problems to work with styling sass/css, but the theme doesn't read js files after builded webpack. Is there way to get this?
I am trying to use packages and modules from the npm registry to generate the css and js needed for my theme. I use webpack to manage packages and get .css and .js output files. According to the developer documentation https://docs.backdropcms.org/documentation/creating-sub-themes I need to add files style sheets [all] [] = mystyle.css
and scripts [] = myscript.js
to the .info file. And it works correctly for both of them if I use a standalone js file. But the js file I get as output from webpack is not. This works for Drupal 9, so I thought it might work for Backdrop too. Let me know if I'm wrong.
Thanks! I managed it out with your help.
Turns out I had the Leaflet widget allows for a title and description.
This have a dropdown menu in the Leaflet settings within the view...
Hi geoma, no need to excuse. I think, now I got it (more or less).
Your problem doesn't actually have much to do with the Leaflet module, but you struggle with the combination of...
Sorry for not being clear.
I have this view and two exposed filters on it.
I am trying to show different places on the map. These places are called "institutions".
They have a...
Still trying to understand: you have this view and an exposed form on it, right.
And you have two independent taxonomy terms and try to filter by them?
Or is this a hierarchal...
Comments
I am not sure that I understand the question?
Are you building a new theme for Backdrop?
Can you provide a little more information about the specifics of your problem?
I am trying to use packages and modules from the npm registry to generate the css and js needed for my theme. I use webpack to manage packages and get .css and .js output files. According to the developer documentation https://docs.backdropcms.org/documentation/creating-sub-themes I need to add files
style sheets [all] [] = mystyle.cssand
scripts [] = myscript.jsto the .info file. And it works correctly for both of them if I use a standalone js file. But the js file I get as output from webpack is not. This works for Drupal 9, so I thought it might work for Backdrop too. Let me know if I'm wrong.