Bootstrap: How do I identify the Bootstrap version?

后端 未结 11 1262
借酒劲吻你
借酒劲吻你 2021-01-31 12:43

I want to update Bootstrap on a site, but I don\'t know the installed version.

How can I identify the bootstrap version, with only bootstrap.css and bootstrap.min.js fil

11条回答
  •  执念已碎
    2021-01-31 13:24

    Method 1 - Very Simple

    In Package.json - you'll see bootstrap package installed with version mentioned.

    "dependencies": {
        // ...
       "bootstrap": "x.x.x"
        // ...
    }
    

    Method 2

    1. Open node_modules folder and under that
    2. Search and open bootstrap folder
    3. Now you'll be able to see version number in the following files
      • package.json
      • scss/bootstrap.scss or css/bootstrap.css
      • README.md

提交回复
热议问题