📘 Premium Read: Access my best content on Medium member-only articles — deep dives into Java, Spring Boot, Microservices, backend architecture, interview preparation, career advice, and industry-standard best practices.
✅ Some premium posts are free to read — no account needed. Follow me on Medium to stay updated and support my writing.
🎓 Top 10 Udemy Courses (Huge Discount): Explore My Udemy Courses — Learn through real-time, project-based development.
▶️ Subscribe to My YouTube Channel (172K+ subscribers): Java Guides on YouTube
Installing Bootstrap from NPM
npm install bootstrap@3.3.7
npm install bootstrap
Alternative: Local Bootstrap CSS
Import the Bootstrap CSS
...
"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]
...
@import '~bootstrap/dist/css/bootstrap.min.css';
Alternative: Using Local Bootstrap CSS
"styles": [
"styles/bootstrap-3.3.7-dist/css/bootstrap.min.css",
"styles.scss"
],
@import './styles/bootstrap-3.3.7-dist/css/bootstrap.min.css';
Comments
Post a Comment
Leave Comment