Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>fl-compilerNew to Visual Studio Code? Get it now.
fl-compiler

fl-compiler

jeege

|
688 installs
| (1) | Free
vue模版编译
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

说明

该插件用于编译vue文件,生成相应的vue组件,es6以上语法会转换成es5,新增的api需自行实现

配置

点击编辑器右上角设置图标,打开全局编译配置进行设置,如果模版文件夹下存在flc.json配置文件,那么配置优先以flc.json文件中的配置为主:

{
    "compile": true,  // 是否启用编译
    "out": "./", // js生成路径
    "minify": true, // 是否压缩js
    "minifyOptions": {} // Terser MinifyOptions
}

示例

example

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