vue-cli add bootstrap

 How to introduce bootstrap 

 npm install --save-dev bootstrap

Introduced in main.js

import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap/dist/js/bootstrap.min.js';

Then run, follow the prompts to make the results of the implementation of such orders

npm install --save popper.js

Then, you can run successfully use the bootstrap

Guess you like

Origin www.cnblogs.com/wwthuanyu/p/10978297.html