You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use SvelteStrap - Bootstrap for Svelte - see below for the problem encountered when trying this.
Get Bootstrap
Not the most flexible but very simple option. A small downside is that we'd need to maintain and host the customised bundle/files somewhere or package them with the app which may increase time to render the app. This could be mitigated by using a CDN.
Add SASS/SCSS
Download the scss version of bootstrap and add sass compilation to the build.
Flexible solution but may also create complexity, esp having to use node-sass or dart-sass and also figuring out the correct vite/rollup config for packaging everything up.
SvelteStrap
Attempt to integrate sveltestrap, a community svelte + bootstrap integration in to the project, was unsuccessful because of a known issue in the framework. It will be worth checking on the status of this before starting work here.
Simple Bootstrap
Bootstrap is currently integrated by linking to bootstrap 5 libraries from a CDN. This isn't ideal because the variables/theme cannot be customised.
Three option for improving this;
Get Bootstrap
Not the most flexible but very simple option. A small downside is that we'd need to maintain and host the customised bundle/files somewhere or package them with the app which may increase time to render the app. This could be mitigated by using a CDN.
Add SASS/SCSS
Download the scss version of bootstrap and add sass compilation to the build.
Flexible solution but may also create complexity, esp having to use node-sass or dart-sass and also figuring out the correct vite/rollup config for packaging everything up.
SvelteStrap
Attempt to integrate sveltestrap, a community svelte + bootstrap integration in to the project, was unsuccessful because of a known issue in the framework. It will be worth checking on the status of this before starting work here.
see
Ran into known issues with sveltestrap + vite + popperjs (required by bootstrap)
Flagging here in case a fix is released.
The text was updated successfully, but these errors were encountered: