This is an adder for svelte-add
; you should read its README
before continuing here.
This adder's codename is bootstrap
, and can be used like so:
npx svelte-add@latest bootstrap
This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add
currently supports).
This adder doesn't take any options of its own.
After the adder runs,
-
You can use Bootstrap classes like
card
orpt-5
in the markup (components, routes,app.html
). -
You can customize your Bootstrap theme with variables like
$primary
or$grid-breakpoints
insrc/variables.scss
. -
The
@popperjs/core
package is installed to satisfybootstrap
's peer dependency on it. You can safely ignore it, or uninstall it if you can do so without introducing package manager errors.