Why does the introduction of css style files work globally? And the introduction of js files can only work under the current module?
main.js
import a from "./a.js";
//
import "./index.css"
a.js
export default "hello world"
index.css
.title{
color:red
}