Commit cbe52bba by hanjixin

修改 css modoule

parent 079d3a90
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
// '@': resolve('src'), // '@': resolve('src'),
// } // }
// }, // },
"disableCSSModules": true, // "disableCSSModules": true,
define: { define: {
'process.env': env, 'process.env': env,
} }
......
import React from 'react'; import React from 'react';
import styles from './SideBar.less';
import { NavLink } from 'dva/router';
import { NavLink } from 'dva/router' console.log(styles);
const SideBar = (props) => { const SideBar = (props) => {
return ( return (
<div className="layout-sidebar"> <div className="layout-sidebar">
......
.head {
background: none;
border: 1px solid red;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment