Hi,
Is there any plan to upgrade frappe / erpnext to Bootstrap 5
Hi,
Is there any plan to upgrade frappe / erpnext to Bootstrap 5
I second this would be great time to upgrade
Hi,
Bootstrap 5 have many updates. Is any possible to update bootstrap 5 in ERPNext V14 any time soon, Or Is there a process to upgrade to Latest version of bootstrap manually.
Also looking forward to Bootstrap 5.2+ since some SASS methods were changed from 5.1 to 5.2.
Is there sufficient demand felt to put efforts to migrate from Bootstrap 4 to latest Bootstrap 5, if someone willing to put efforts, and sufficient benefits are obtained?
or official developers are thinking to move to vue.js + tailwind (might be using FrappeUI)?
What is the official direction?
Frappe v15 is using tailwind. Not sure if team wants to spend time in upgrading the bootstrap for v14.
I doubt. Any proof?
Prerequisites does mention about bootstrap, and not thing about tailwind:
3. HTML / CSS
If you want to build user interfaces using Frappe Framework, you will need to learn basic HTML / CSS and the Bootstrap CSS Framework.
Resources:
Also found a recent feature-request:
In the frappe official Github I have created an issue and got reply that someone sent the PR of updated bootstrap 5 here but didât accepted by officialâs.
This someone is not a real developer, and no one made changes to migrate from Bootstrap 4 to 5
So the PR was just an automatic dependency update by Dependabot and didnât include the necessary changes for a proper migration from Bootstrap 4 to 5. That makes sense! So, does that mean a manual migration effort is required if we want to upgrade to Bootstrap 5.
Then how long it can be??
.
Umm my friend used bootstrap 5 in frappe application.
And he took 2 seconds to implement the bootstrap 5 in his application via CDN
In my case, itâs not a UI/DX matter, but rather a security/compliance issue, given that Bootstrap 4.6.2 reached end of life on January 1, 2023, and has several known vulnerabilities.
Has anyone dealt with and managed a similar situation?
I gathered some info, can anyone confirm any of those solutions?
Below is an expanded, sideâbyâside look at Tidelift (âSonar OSSâ), HeroDevs NES, and OpenLogic LTSâfollowed by practical guidance on how each option behaves inside a Frappe/ERPNext build that ships Bootstrap 4.6.2 via npm/esbuild.
bootstrap-nes
) that already contains patched source and an SLA (14âday fix). No code changesâjust swap the dependency and add an auth token.bootstrapâ4.6.2âlts.<rev>
), tickets answered by OSS experts, and guaranteed fixes until 31 Dec 2030.In Frappe, all three integrate without touching your Python code: you merely adjust package.json
(HeroDevs / OpenLogic) or run a CLI scanner (Tidelift). The esbuild pipeline then bundles the updated CSS/JS exactly as before.
Feature | Details |
---|---|
Delivery model | Metadata stream + optional patch PRs; you keep bootstrap@4.6.2 from the public npm registry. |
Coverage | Thousands of projects; security, license, EOL intel, SBOM. |
Patching | When a maintainer signs on, Tidelift ships a patched release; otherwise you receive a mitigation recipe. |
SLA | âAssurancesâ rather than strict timelines, but Sonar is merging SCA+SAST and promises unified remediation workflow later in 2025. |
Cost | Low fourâfigures USD/yr for <100 developers (bulk pricing across all packages). |
Ideal for | Teams that already run SonarQube/SonarCloud and need supplyâchain compliance more than hotâfix binaries. |
"bootstrap": "4.6.2"
in package.json
.tidelift analyze
(or Sonarâs new unified CLI) in CI; it parses the same package-lock.json
that Frappe produces.Build impact: noneâesbuild still bundles from nodeâmodules.
Feature | Details |
---|---|
Delivery model | Authenticated npm scope (@nes/bootstrap4 ) that is binaryâcompatible with bootstrap@4 . Dropâin swap. |
Coverage | Bootstrap 2, 3, 4; also Angular, Node, Spring, etc. |
Patching | HeroDevs publishes patched versions within 14 days of any CVE. |
SLA & compliance | SOC 2, HIPAA, PCI wording in contract. |
Cost | Midâ4 to lowâ5 figure USD/yr per org (quoteâbased). |
Ideal for | SaaS apps stuck on Bootstrap 4 that must show an auditor a hard SLA. |
// package.json (snippet)
"dependencies": {
"bootstrap": "npm:@nes/bootstrap4@4.6.2-secure", // 1ď¸âŁ swap
"@popperjs/core": "^2.11.2",
"jquery": "3.7.0"
}
npm config set //registry.nes.herodevs.com/:_authToken YOUR_TOKEN # 2ď¸âŁ auth
npm i && node esbuild --production # 3ď¸âŁ build
Nothing else changesâFrappeâs esbuild keeps the same import path; icons, SASS mixins, and dataâattributes remain intact.
Feature | Details |
---|---|
Delivery model | Private npm (or tarball) repo hosting bootstrapâ4.6.2âlts.<rev> . |
Patch horizon | All medium+ CVEs, browser breakage, jQuery shifts, until 31 Dec 2030. |
SLA | 24Ă7 support, unlimited tickets. |
Extras | Consulting hours, migration roadmap help. |
Cost | Competitive if you already buy other Perforce / OpenLogic LTS products. |
Ideal for | Enterprises needing a multiâyear runway but eventually upgrading to Bootstrap 5. |
npm config set @openlogic:registry https://artifacts.openlogic.com/npm/
npm i @openlogic/bootstrap@4.6.2-lts.1
# Or, if using tarball:
npm i https://artifacts.openlogic.com/bootstrap-4.6.2-lts.1.tgz
Update import alias in esbuild
if package name differs. Reârun bench build
or node esbuild
.
Step | Tidelift | HeroDevs NES | OpenLogic LTS |
---|---|---|---|
package.json change |
None | Yes (dependency string) | Yes (dependency + registry) |
Additional CLI tool | Tidelift/Sonar scan (optional) | Token setup | Registry login |
esbuild / bench build | Unchanged for all three | Unchanged | Unchanged |
Risk of CSS class / JS API drift | Same as original 4.6.2 | Guaranteed identical APIs (dropâin) | Guaranteed identical APIs (dropâin) |
Frappe imports Bootstrap globally through window.bootstrap
and import 'bootstrap';
statements inside its JS modules; since none of the three options rename classes or break Sass variables, no Python or Desk code is affected.
Remember: Bootstrap 4 entered EOL on 1 Jan 2023âthe official team will never release 4.6.3. If you keep Frappe on 4.x for more than a few months, one of these paid pathsâor a full migration to Bootstrap 5 inside Frappe v16+âis strongly recommended.
With these steps, you can keep your Frappe apps secure today while budgeting a clean migration path for tomorrow.