It may be the right time to recommend using @use
instead of @import
#39584
Replies: 1 comment 1 reply
-
Getting there to support |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The sass team has emitted the formal recommendation of not using
@import
anymore a long time ago but Bootstrap documentation still display examples that use this keyword instead of@use
.This leads to some confusion by the community since some of us recommend to the developers to use the
@use
keyword while the Bootstrap documentation recommends otherwise.This stack overflow answer for example, written by myself, has a legit comment by someone asking which is right - Bootstrap documentation or my answer.
https://stackoverflow.com/a/77814573/354490
I think that updating the documentation in favour of
@use
will prepare the community for the eventual removal of@import
and would additionally encourage everybody to embrace the very clean and powerful modular approach that SASS has been proposing for years and that is largely ignored as of today.Beta Was this translation helpful? Give feedback.
All reactions