# vue2-h5-base **Repository Path**: qingshan_1996/vue2-h5-base ## Basic Information - **Project Name**: vue2-h5-base - **Description**: 基于vue2 的移动端基础开发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-27 - **Last Updated**: 2024-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: vue2 ## README # 适配移动端 1 - 默认整个屏幕为 750px - vscode 配置 ``` { "workbench.startupEditor": "newUntitledFile", "explorer.confirmDelete": false, "[jsonc]": { "editor.defaultFormatter": "vscode.json-language-features" }, "vetur.format.defaultFormatter.html": "js-beautify-html", "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "wrap_line_length": 120, "wrap_attributes": "auto", "end_with_newline": false } }, "[json]": { "editor.defaultFormatter": "vscode.json-language-features" }, "[*.vue]": { "editor.defaultFormatter": "octref.vetur" }, "vetur.format.options.tabSize": 2, "vetur.format.options.useTabs": true, "vetur.format.enable": false, "editor.formatOnSave": true, "prettier.jsxBracketSameLine": true, "prettier.insertPragma": true, "prettier.jsxSingleQuote": true, "prettier.useTabs": true, "files.associations": { "*.vue": "html" }, "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "files.autoSave": "off", "stylusSupremacy.insertColons": true, // 是否插入冒号 "stylusSupremacy.insertSemicolons": true, // 是否插入分好 "stylusSupremacy.insertBraces": true, // 是否插入大括号 "stylusSupremacy.insertNewLineAroundImports": false, // import之后是否换行 "stylusSupremacy.insertNewLineAroundBlocks": true // 两个选择器中是否换行 } ```