Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
423 views
in Technique[技术] by (71.8m points)

请问Ant Design Pro的classname通过“-”自动处理嵌套是怎么实现的?

请问antd处理classname的是什么插件?或者在webpack额外配置了什么?

less样式(举例):
image

引用方式是:

<div className={styles.modal}>
   <div className={styles.root}>
      <div className={styles.mask}>

渲染后:
image


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...