[Seaside] Detailed instructions or a how to to get Bootstrap4 working on Pharo9?
Ian
icjohnson at protonmail.com
Thu Jul 29 20:35:56 UTC 2021
Hi,
I followed the instructions here: https://github.com/astares/Seaside-Bootstrap, to a T and proceeded to create a class:
WAComponent subclass: #MyBootstrapExample
instanceVariableNames: ''
classVariableNames: ''
package: 'iExamples'
From there I added two methods:
renderContentOn: html
html heading level2 with: 'Examples'.
html alert bePrimary with: 'A simple primary alert—check it out!'.
html break.
rendererClass
^ SBSHtmlCanvas
From here I registered the app and I get a page rendered.
Problem:
There is no bootstrap? (The head section of the rendered page has no links to any css or js other than the standard development.css.
Note:
All the default bootstrap examples work and all there rendered pages have the head section links that I would expect.
Question:
1. Why are not may pages including the links to the boostrap/jquery libraries?
2. How do I correct this (having the same issue with jquery (classes are loaded as they are embedded but not head section references?)?
Thanks in advance,
Ian
Sent with [ProtonMail](https://protonmail.com/) Secure Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20210729/94e9fda3/attachment.html>
More information about the seaside
mailing list