Posts

Showing posts from February, 2023

Bootstrap Installation for SharePoint Developers step by step

Image
                     how we can  download and install bootstrap in SPFX web parts?                      There are different ways we can download and use bootstrap.                     1) We can download the compiled version of CSS and JS required for bootstrap and we can use it.                https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css                https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js               Add this file in Assets folder of your solution and require n your tsx.                        2 ) you can also provide the JS and CSS file path from CDN path like below:   < SPComponentLoader . loadCss ( ' https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css ’)> < SPComponentLoader . Script (‘ https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js ’)>              3)You can install bootstrap using the npm co