[英]Angular 7 using Scss file
我有一個在 angular 7 開發的項目。
但是,要使用庫,我需要使用 a.scss 文件。
運行程序時出現以下錯誤
有誰知道我該如何解決? 已經嘗試了一切並繼續給出同樣的錯誤:(
我的scss文件
@import '~@material/image-list/mdc-image-list'; .masonry-image-list { @include mdc-image-list-masonry-columns(3); &__item { background-color: #ccc; } }
你能提供你的 webpack 配置文件嗎? 只需檢查關於您的版本的 sass-loader 的文檔。 您不能使用任何其他版本。 正如您在錯誤中看到的那樣,您正在使用的版本上沒有像“includePaths”這樣的選項。
[英]SCSS file imports using ~ (tilde) is not working in Angular 6
[英]not found the scss file when using styling in angular
[英]angular issue in scss file
[英]Global .scss file in Angular 2
[英]Architecture for using SCSS with Angular 2/4
[英]Angular - How to import a scss variable file using ngc -w?
[英]Angular 4 with Webpack - SCSS file not loading
[英]Angular 12 using inline scss
[英]using foundation 6 scss with angular 2 cli
[英]Using Bootstrap 5 in Angular 14 with SCSS
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.