BLACKJT

1.利用cnpm下载然后导入,用npm也是一样的:

cnmp install bootstrap -S

在main.js文件下导入:

import "bootstrap/dist/css/bootstrap.css"

2.如果在cnpm下下载安装没有效果,那么可以手动安装:

去bootstrap官网 https://v3.bootcss.com/下载

在src目录下将下好的bootstrap导入

 

然后在main.js文件下 :

import "./bootstrap-3.3.7-dist/css/bootstrap.css";

则可以将bootstrap导入

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
猜你喜欢
  • 2021-11-05
  • 2022-12-23
  • 2021-06-21
  • 2021-12-29
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
相关资源
相似解决方案