Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.
/ bootstrap Public archive

⚠️ MOVED: https://github.com/svelte-add/svelte-add/ ⚠️ Add Bootstrap to your Svelte project

License

Notifications You must be signed in to change notification settings

svelte-add/bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

👢 Add Bootstrap to Svelte

GitHub issues by-label GitHub issues by-label

This is an adder for svelte-add; you should read its README before continuing here.

➕ Adding Bootstrap

This adder's codename is bootstrap, and can be used like so:

npx svelte-add@latest bootstrap

🏞 Supported environments

This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add currently supports).

⚙️ Options

This adder doesn't take any options of its own.

🛠 Using Bootstrap

After the adder runs,

  • You can use Bootstrap classes like card or pt-5 in the markup (components, routes, app.html).

  • You can customize your Bootstrap theme with variables like $primary or $grid-breakpoints in src/variables.scss.

  • The @popperjs/core package is installed to satisfy bootstrap's peer dependency on it. You can safely ignore it, or uninstall it if you can do so without introducing package manager errors.