only @use 和 @use as * SCSS 规则有什么区别?

What's the difference between only @use and @use as * SCSS rules?

有什么区别?

@使用'scss/my'

@使用 'scss/my' 作为 *

我觉得是一样的,是不是没有use namespace,对吧? 但有区别吗?

Choosing a Namespace 文档解释得很清楚。

By default, a module’s namespace is just the last component of its URL without a file extension. However, sometimes you might want to choose a different namespace—you might want to use a shorter name for a module you refer to a lot, or you might be loading multiple modules with the same filename. You can do this by writing @use "<url>" as <namespace>.

You can even load a module without a namespace by writing @use "<url>" as *. We recommend you only do this for stylesheets written by you, though; otherwise, they may introduce new members that cause name conflicts!

命名空间的重点是