We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
// test.less .test { color: red; }
.test { color: red; }
// test.tsx import styles from './test.less'; <span className={styles.test}>测试</span>
import styles from './test.less';
<span className={styles.test}>测试</span>
这种形式最终生成的代码,span并没有样式 <span>测试</span>
<span>测试</span>