| | |
| | | "nprogress": "^0.2.0", |
| | | "rbush": "^3.0.1", |
| | | "screenfull": "^3.3.3", |
| | | "style-resources-loader": "^1.4.1", |
| | | "vue": "^2.6.11", |
| | | "vue-cli-plugin-style-resources-loader": "^0.1.4", |
| | | "vue-count-to": "^1.0.13", |
| | | "vue-focus": "^2.1.0", |
| | | "vue-fullscreen": "^2.2.0", |
| | |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | @import '@assets/css/map/_map-variable'; |
| | | .legend-panel { |
| | | position: absolute; |
| | | z-index: 502; |
| | |
| | | import echartsDarkTheme from '@/styles/theme-dark/echarts/theme.json' |
| | | import ElementUI from 'element-ui' |
| | | import 'element-ui/lib/theme-chalk/index.css' |
| | | import './assets/css/map/_map-variable.less' |
| | | import '@assets/css/map/_map-variable.less' |
| | | import '@assets/css/map/map-panel-style.less' |
| | | import 'leaflet/dist/leaflet.css' |
| | | import L from 'leaflet' |
| | |
| | | const appConfig = require('./src/app.config') |
| | | |
| | | const path = require('path') |
| | | module.exports = { |
| | | publicPath: process.env.NODE_ENV === 'production' ? `/${appConfig.projectName}/` : '/', |
| | | configureWebpack: config => { |
| | |
| | | }, |
| | | parallel: require('os').cpus().length > 1, // 构建时开启多进程处理babel编译 |
| | | productionSourceMap: false, |
| | | pluginOptions: { |
| | | 'style-resources-loader': { |
| | | preProcessor: 'less', |
| | | patterns: [ |
| | | path.resolve(__dirname, './src/assets/css/map/_map-variable.less') |
| | | ] |
| | | } |
| | | }, |
| | | devServer: { |
| | | // host: 'localhost', |
| | | // open: true, |