| ¶Ô±ÈÐÂÎļþ |
| | |
| | | node_modules/ |
| | | dist/ |
| | | dist-ssr/ |
| | | static/ |
| | | coverage/ |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | module.exports = { |
| | | root: true, |
| | | env: { |
| | | browser: true, |
| | | node: true, |
| | | es6: true |
| | | }, |
| | | // Vue SFC éè¦ä½¿ç¨ vue-eslint-parser æ¥è§£æ template/script/style |
| | | parser: 'vue-eslint-parser', |
| | | parserOptions: { |
| | | // script é¨åç¨ babel-eslint |
| | | parser: 'babel-eslint', |
| | | ecmaVersion: 2020, |
| | | sourceType: 'module' |
| | | }, |
| | | plugins: ['vue'], |
| | | extends: [ |
| | | 'eslint:recommended', |
| | | 'plugin:vue/recommended', |
| | | // 让 prettier è§åæ¥ç®¡æ ¼å¼é®é¢ï¼åå°æ è°æ¥é |
| | | 'prettier' |
| | | ], |
| | | rules: { |
| | | // è®©ç°æé¡¹ç®å°½å¿«å¯ç¼è¯ï¼é¿å
大éåå²ä»£ç 触å eslint é»å¡ï¼ |
| | | 'no-console': 'off', |
| | | 'no-debugger': 'off', |
| | | 'no-unused-vars': 'off', |
| | | 'no-undef': 'off', |
| | | 'vue/multi-word-component-names': 'off', |
| | | 'vue/no-v-html': 'off' |
| | | } |
| | | }; |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | # Dependencies |
| | | node_modules/ |
| | | |
| | | # Vue build output |
| | | dist/ |
| | | dist-ssr/ |
| | | static/ |
| | | |
| | | # Coverage / test |
| | | coverage/ |
| | | |
| | | # Logs |
| | | npm-debug.log* |
| | | yarn-debug.log* |
| | | yarn-error.log* |
| | | *.log |
| | | |
| | | # Environment variables |
| | | .env |
| | | .env.* |
| | | !.env.example |
| | | |
| | | # IDEs / editors |
| | | .idea/ |
| | | .vscode/ |
| | | *.iml |
| | | |
| | | # Windows / macOS system files |
| | | Thumbs.db |
| | | .DS_Store |
| | | __MACOSX/ |
| | | ._* |
| | | |
| | | # Misc |
| | | .eslintcache |
| | | *.swp |
| | | *.swo |
| | | *.swn |
| | | *.tmp |
| | |
| | | heartTimeoutObj: null, |
| | | heartServerTimeoutObj: null, |
| | | |
| | | wsUrl: 'wss://car-internalmanager.ztt.cn/admin/bigscreen', |
| | | wsUrl: process.env.NODE_ENV === 'development' ? 'ws://localhost:8993/admin/bigscreen' : 'ws://1.15.17.182:9031/admin/bigscreen', |
| | | // wsUrl: 'wss://car-manager.truekey.mobi//admin/bigscreen', |
| | | ws: null, |
| | | lockReconnect: false // æ¯å¦è¿æ¥æå |
| | |
| | | devServer: { |
| | | port: 8993, |
| | | open: true, |
| | | // Local websocket proxy (dev only) so local access can reach backend. |
| | | // Production build uses the real backend address directly (see wsUrl in home/index.vue). |
| | | proxy: { |
| | | '/admin': { |
| | | target: 'http://1.15.17.182:9031', |
| | | ws: true, |
| | | changeOrigin: true, |
| | | }, |
| | | }, |
| | | }, |
| | | configureWebpack: { |
| | | name: name, |