# vsc-ext-comb-vue **Repository Path**: g8up/vsc-ext-comb-vue ## Basic Information - **Project Name**: vsc-ext-comb-vue - **Description**: vscode ext,将分散的 Vue 组件资源文件(js/html/css)合并成独立的 .vue 文件 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: https://marketplace.visualstudio.com/items?itemName=duXing.comb-vue - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2017-07-07 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: vue-extensions **Tags**: vscode-ext ## README # comb-vue > .js|.es + .html + .less|.css = .vue > 将分散的 Vue 组件资源文件(.js|.es/.html/.less)合并为 .vue 文件 ## Features 在组件目录 `ctrl + shift + p`,执行命令 `combind .vue`,即会生成一个 `index.vue` ## Shortcut 可以设置快捷键 `ctrl + k, ctrl + s`,搜寻 `extension.combind` 命令,为其指定快捷键,如 `ctrl + b`,以提高效率 ## Configration |选项(option)|默认值(default)|描述(description)| |-|-|-| | "comb-vue.order" | [ "tmpl", "script", "style" ] | 合并后各类别代码片段的顺序 | | "comb-vue.ext" | 如下所示(as below) | 按照类别指定支持的文件扩展名 | ``` // "comb-vue.ext" default value { "tmpl": [ ".html", ".tpl" ], "script": [ ".js", ".es" ], "style": [ ".css", ".less" ] } ``` ## Contact Author [Sina Weibo >>](https://weibo.com/1055554120/GkT4AgSt0)