Angular Bootstrap Errors (SassError: Can't find stylesheet to import, Undefined variable) - Easy Fix
Автор: NANO Tuts
Загружено: 2022-12-16
Просмотров: 10549
Описание:
Hello guys in this tutorial I'm gonna be showing how to fix the following errors:
❌SassError: Can't find stylesheet to import.
16 │ @import '~bootstrap/scss/functions';
❌SassError: Undefined variable.
142 │ values: $utilities-border-colors
❌SassError: Can't find stylesheet to import.
6 │ @import "~bootstrap/scss/root";
✅Solution:
1- npm uninstall bootstrap --force
2- npm I bootstrap --save --force
3- Remove all ~ in your _init.scss file
4- ⚠️Use @import "~bootstrap/scss/maps"; Before
@import 'bootstrap/scss/utilities'; in your _init.scss file
5- Remove all ~ in your components.scss file.
#angular #angulartutorial #bootstrap
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: