Zum Inhalt springen
Kitbay
Skill

bootstrap-vite

MITAktualisiert am 11. Nov. 2026175.039GitHub-Sterne

A skill from the Bootstrap repository that sets up a new project using Bootstrap 6 with the Vite bundler.

Was der Skill vermittelt

A skill from the Bootstrap repository that sets up a new project using Bootstrap 6 with the Vite bundler. The agent creates an npm project, installs Vite, the Bootstrap 6 alpha, Sass and the optional Floating UI and datepicker packages, and lays out source folders with an HTML page, a stylesheet and a JavaScript entry file. It configures Vite's root, output folder and dev server port, brings in Bootstrap's Sass with @use and optional token overrides, and imports either all of Bootstrap's JavaScript or single plugins to keep bundles small. It finishes by starting the dev server and checking styles and a component work. It notes that Bootstrap 6 needs browsers with oklch() and color-mix().

Funktionen

  • Create a Vite project with Bootstrap 6
  • Import Bootstrap's Sass and override tokens
  • Import only the JavaScript plugins needed
  • Check the setup in the dev server