一、Bootstrap 1、在main.js中引入 npm i jquery npm i bootstrap 2、在main.js中 import 'jquery/dist/jquery.min' import 'bootstrap/dist/css/bootstrap.css'