How to upgrade Bootstrap v3.3.7 to v4.0.0 beta2 in Asp.net core 2.0 mvc project?

I'm wondering what is the process of upgrading Bootstrap v3.3.7 to v.4.0.0 beta-2 in an asp.net core 2.0 mvc project.

enter image description here

+4
source share
1 answer

follow the steps for bootstrap version 4.0.0 beta.3. Most likely, for other versions it will also work.

  • Open the Node.js Console
  • Cd The path to your project, where package.jsonis
  • execute command npm install popper.js --save
  • execute command npm install bootstrap@4.0.0-beta.3
  • webpack --config webpack.config.vendor.js - update vendor.js and vendor.css files.
  • rebuild the project and verify it. If it does not work, run Install-Package bootstrap -PreVS Package Manager in the console.

, . - .

, .

+2

Source: https://habr.com/ru/post/1691380/


All Articles