《angular 高级编程》学习集锦
# 添加第三方库(全局范围)
npm install bootstrap
在 angular.json 配置文件中,把关联的脚本文件添加到 "scripts" 数组中:
最后再运行或重启 ng serve,看看你的应用是否正在使用 Bootstrap 4。
npm install bootstrap
在 angular.json 配置文件中,把关联的脚本文件添加到 "scripts" 数组中:
最后再运行或重启 ng serve,看看你的应用是否正在使用 Bootstrap 4。