[Koha-devel] Bootstrap 4 upgrade for the OPAC

Owen Leonard oleonard at myacpl.org
Thu Jun 4 04:17:14 CEST 2020


> Can you expand more on that?

Yes. Bootstrap assets would be downloaded in a dev environment during
"yarn install" as we do other npm packages. In the OPAC SCSS we can
then reference those files when we build the OPAC CSS:

/* Bootstrap imports */
@import "../../../../../node_modules/bootstrap/scss/functions";
@import "../../../../../node_modules/bootstrap/scss/variables";

Ultimately opac.css would be the only prebuilt CSS file in version
control rather than adding a copy of the Bootstrap CSS.

 -- Owen

-- 
Web Developer
Athens County Public Libraries
(740) 737-6006
https://www.myacpl.org


More information about the Koha-devel mailing list