Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>comb-vueNew to Visual Studio Code? Get it now.
comb-vue

comb-vue

duXing

|
3,265 installs
| (0) | Free
合并 Vue 组件分散的文件为 .vue
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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 >>

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft