bootstrap-npm
Installation
SKILL.md
Bootstrap 6 with npm
Set up a Bootstrap 6 project that compiles Sass to CSS using npm command-line tools, with no JavaScript bundler. Bootstrap's pre-built JS bundle is loaded directly via a <script> tag. Requires Node.js and terminal familiarity.
Workflow
- Step 1: Set up npm and install dependencies
- Step 2: Create the project structure
- Step 3: Configure npm scripts and config files
- Step 4: Import Bootstrap's Sass
- Step 5: Verify
Step 1: Set up npm and install dependencies
- Create the project and initialize npm: