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