【发布时间】:2021-12-14 13:55:12
【问题描述】:
我使用ng new test-app 创建了一个新的 Angular 应用程序。现在我想使用这个非常基本的模板Start Bootstrap。
我该怎么做?
到目前为止我做了什么:
- 我执行了
npm install bootstrap - 我将
node_modules/bootstrap/dist/css/bootstrap.css添加到angular.json文件中
据我所知,我现在拥有所有可用的东西。现在我只是将<body>...</body> 从html-Template 复制到app.component.html,但我用jQuery 脚本删除了底部的东西。
好吧,结果是它看起来很相似,但远非美好。我究竟做错了什么?有什么遗漏吗?
【问题讨论】:
标签: angular bootstrap-4 frontend