Commit 5ec7dcf6 authored by 陈帅's avatar 陈帅

add css and less configuration

parent 782b8035
......@@ -28,6 +28,9 @@ export default {
publicPath: '/',
disableDynamicImport: true,
hash: true,
lessLoaderOptions: {
javascriptEnabled: true,
},
cssLoaderOptions: {
modules: true,
getLocalIdent: (context, localIdentName, localName) => {
......
......@@ -24,13 +24,12 @@
"dependencies": {
"@antv/data-set": "^0.8.0",
"antd": "^3.6.2",
"bizcharts": "^3.1.5",
"bizcharts": "^3.1.8",
"bizcharts-plugin-slider": "^2.0.3",
"classnames": "^2.2.6",
"dva": "^2.3.1",
"dva-loading": "^2.0.3",
"enquire-js": "^0.2.1",
"less": "2.7.2",
"lodash": "^4.17.4",
"lodash-decorators": "^5.0.1",
"moment": "^2.22.0",
......
......@@ -4,7 +4,7 @@ import autoHeight from '../autoHeight';
import styles from '../index.less';
@autoHeight()
export default class MiniArea extends React.Component {
export default class MiniArea extends React.PureComponent {
render() {
const {
height,
......
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 to comment