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.
Hi
Editing I see this:
The CSS looks like this:
/* Level 1: Standard Numbers */
.field-name-body ol {
list-style-type: decimal;
}
/* Level 2: Lowercase Letters */
.field...
Done:
https://github.com/backdrop/backdrop-issues/issues/7097
Feel free to edit it with better technical language.
I'll have ago at vaccinating it but I'm only a user and the...
Hi Mike.
That looks like a bug. The CKE ordered lists when editing have the correct CSS to format those lists correctly, but when Backdrop displays the body field in Basis, it doesn't...
Posted2 days 21 hours ago by Alejandro Cremaschi (argiepiano) on:
Restore Newsletter Subscriptions from a Dev Website
In my last comment, I described a way to restore newsletter subscriptions from a database backup. The method involved directly editing...
Posted5 days 9 hours ago by Olaf Grabienski (Olafski) on:
I am considering migrating my drupal 7 website to backdrop.
Hi @seamus, I would like to offer my professional services for migration to BackdropCMS.
Please connect If...
Posted6 days 4 hours ago by Deep Vyas (deepvyas) on:
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.