スレートを使用して Shopify テーマを作成しています。自分のテーマにブートストラップ 4 SCSS を追加したいのですが、ブートストラップの SCSS フォルダーをフォルダーに追加してインポートすることで
これを試しました。styles/vendor/bootstraptheme.scss
/*================ BOOTSTRAP ================*/
@import url('vendor/bootstrap/scss/bootstrap.scss');
問題は、これを含めた後、slate build正常に完了したが、コンソールにエラーが表示されることです
Refused to apply style from 'https://cdn.shopify.com/s/files/1/2331/3377/t/10/assets/theme.scss.css?9739733336988663236' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
CSSを開くと表示されます
Failed to compile SCSS file
誰でもこれを解決できますか?またはスレートテーマでブートストラップ 4 をインポートするためのその他の方法