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

add css and less configuration

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