css-modules 在把类名转换以后怎么把转换的类名导出

https://img4.mukewang.com/5c78d41900010be307540671.jpg

css-modules 在把类名转换以后怎么把转换的类名导出

POPMUISE
浏览 339回答 1
1回答

摇曳的蔷薇

import style from 'xxx.less'export default function () {&nbsp; &nbsp; return (&nbsp; &nbsp; &nbsp; &nbsp; <div className={style.container}>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <div className={style.header}></div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <div className={style.content}></div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <div className={style.footer}></div>&nbsp; &nbsp; &nbsp; &nbsp; </div>&nbsp; &nbsp; )}
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript