行业知识
react css 污染解决方法
2026-12-02 03:02:17
来源:互联网转载
上代码
.m-nav-bar { background: #171a21; .content { height: 104px; margin: 0px auto; }} import React from "react";import styles from './css.module.scss'export default class NavBar extends React.Component { constructor (props: any) { super(props); this.state = { }; } render () { return ( styles['m-nav-bar']} styles['content']} 内容 ); }} 导入index.php/tags-41973.html" >���时候把名称改为css.module.scss
上一篇:怎么连外网服务器?
下一篇:怎么连接商用服务器网络?