【发布时间】:2021-06-11 12:44:16
【问题描述】:
我想更改 bootstrap-icons 中的 @font-face src 路径,因为它没有显示在我的 index.html 中p>
我正在使用 sass 和 laravel-mix 编译成 css。
这是我的 src/sass/app.scss 文件:
@import "~bootstrap-icons/font/bootstrap-icons";
这是我的 index.html 文件:
<i class="bi bi-archive-fill"></i>
这是我的文件结构:
my-app/
├── dist/
│ ├── assets/
│ │ ├── css/
│ │ │ ├── app.css
│ ├── fonts/
│ │ ├── vendor/
│ │ │ ├── bootstrap-icons/
│── src/sass/
│ ├── app.scss
├── index.html
【问题讨论】:
标签: html css sass bootstrap-5