Bootstrap 5 offcanvas is only working when I use the cdn. Not with the local framework
2021.04.14 17.03 - 2088 - Trumpeterbird
The css doesn’t seem to load with the local framework.
Please see video above, it shows what happens.
Bootstrap 5 offcanvas is only working when I use the cdn. Not with the local framework
2021.04.14 17.03 - 2088 - Trumpeterbird
The css doesn’t seem to load with the local framework.
Please see video above, it shows what happens.
Not sure what i should look at in your video showing the design view, but it works fine in my tests.
Have you tested it in the browser? Are you sure the latest bootstrap css and js files have been uploaded to the server?
In the video I switch from local to cdn. When it’s set to local the offcanvas just shows up on the top of the page.
When it’s set to CDN it looks how it should be working (at the bottom).
How can I check if the latest files have been uploaded?
I see the bs5 JS and CSS are included in the layout page:
The framework is selected on the layout page
The project settings show bootstrap 5:
And all other bootstrap 5 things seem to be working fine so far
Can you just check if it works in your browser please, when you call it on click ... ?
That's not really relevant, when you change the includes on the page.
This is where things go wrong
The Bootstrap 5 files should look like
Meaning that the second line of code is the correct one and the first line should be deleted.
Got it working!
I checked the actual css file and it showed BS5 beta1:
I fixed it by using the ‘Quickly generate Design Theme’ button in the theme manager.
@Teodor Working as intended? Or perhaps wappler should update this automatically? Thanks for the help
@ben Thanks you got me thinking of diving into the file. Not sure where that other bootstrap .js file came from, but it didn’t seem to fix it. I did however remove that inclusion