| | |
| | | '@vue/standard' |
| | | ], |
| | | rules: { |
| | | 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', |
| | | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', |
| | | // 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', |
| | | // 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', |
| | | 'space-before-function-paren': 0 |
| | | }, |
| | | parserOptions: { |
| | |
| | | "D": "^1.0.0", |
| | | "element-ui": "^2.15.6", |
| | | "node_module": "^0.0.0", |
| | | "quill-image-resize-module": "^3.0.0", |
| | | "tinymce": "^5.0.16", |
| | | "vue": "^2.5.22", |
| | | "vue-quill-editor": "^3.0.6", |
| | |
| | | "eslint-plugin-vue": "^5.0.0", |
| | | "less": "^3.9.0", |
| | | "less-loader": "^4.1.0", |
| | | "quill-image-extend-module": "^1.1.2", |
| | | "vue-cli-plugin-element": "^1.0.1", |
| | | "vue-template-compiler": "^2.5.21" |
| | | } |
| | |
| | | devServer: { |
| | | proxy: { |
| | | '/api': { |
| | | target: 'http://8.140.68.52', |
| | | target: 'http://localhost:7070', |
| | | changeOrigin: true, |
| | | ws:true, |
| | | pathRewrite: { |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | } |