{
  "schema": 1,
  "id": "ext.vue",
  "name": "Vue",
  "version": "1.0.5",
  "category": "language",
  "description": "Vue SFCs: template, <script setup> and <style scoped> in one file, {{ … }} interpolation colored, Composition API and directives as suggestions.",
  "author": "Lumen",
  "icon": "V",
  "color": "#42b883",
  "license": "MIT",
  "minAppVersion": "0.5.0",
  "keywords": [
    "vue"
  ],
  "readme": "",
  "settings": [],
  "pages": [],
  "agents": [],
  "views": [],
  "commands": [],
  "addon": {
    "schema": 1,
    "languages": [
      {
        "id": "vue",
        "name": "Vue",
        "extensions": [
          ".vue"
        ],
        "icon": "V",
        "color": "#42b883",
        "priority": 10,
        "comments": {
          "block": [
            "<!--",
            "-->"
          ]
        },
        "indentOpen": "<(?!\\/|.*\\/>)[^>]*>\\s*$|[{[(]\\s*$",
        "indentClose": "^\\s*(?:<\\/|[}\\])])",
        "completions": [
          "v-if",
          "v-else",
          "v-else-if",
          "v-for",
          "v-show",
          "v-model",
          "v-bind",
          "v-on",
          "v-slot",
          "v-html",
          "v-text",
          "v-pre",
          "v-once",
          "v-memo",
          "v-cloak",
          ":key",
          ":class",
          ":style",
          ":value",
          ":disabled",
          "@click",
          "@submit.prevent",
          "@input",
          "@change",
          "@keyup.enter",
          "#default",
          "#header",
          "ref",
          "reactive",
          "computed",
          "watch",
          "watchEffect",
          "shallowRef",
          "toRef",
          "toRefs",
          "unref",
          "isRef",
          "readonly",
          "markRaw",
          "nextTick",
          "defineProps",
          "defineEmits",
          "defineExpose",
          "defineModel",
          "defineOptions",
          "defineSlots",
          "defineComponent",
          "defineAsyncComponent",
          "onMounted",
          "onUnmounted",
          "onBeforeMount",
          "onBeforeUnmount",
          "onUpdated",
          "onBeforeUpdate",
          "onActivated",
          "onDeactivated",
          "onErrorCaptured",
          "provide",
          "inject",
          "useAttrs",
          "useSlots",
          "useTemplateRef",
          "createApp",
          "h",
          "Teleport",
          "Transition",
          "TransitionGroup",
          "KeepAlive",
          "Suspense"
        ],
        "snippets": [
          {
            "label": "sfc",
            "detail": "Single-File-Komponente",
            "body": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\n\nconst ${counter} = ref(0)\n</script>\n\n<template>\n  <button @click=\"${counter}++\">{{ ${counter} }}</button>$0\n</template>\n\n<style scoped>\n</style>"
          },
          {
            "label": "script",
            "detail": "script setup",
            "body": "<script setup lang=\"ts\">\n$0\n</script>"
          },
          {
            "label": "props",
            "detail": "defineProps",
            "body": "const props = defineProps<{\n  ${titel}: ${string}\n  ${anzahl}?: ${number}\n}>()$0"
          },
          {
            "label": "emits",
            "detail": "defineEmits",
            "body": "const emit = defineEmits<{\n  ${aktualisiert}: [wert: ${string}]\n}>()$0"
          },
          {
            "label": "model",
            "detail": "defineModel",
            "body": "const ${wert} = defineModel<${string}>()$0"
          },
          {
            "label": "ref",
            "detail": "ref",
            "body": "const ${wert} = ref(${0})$0"
          },
          {
            "label": "comp",
            "detail": "computed",
            "body": "const ${wert} = computed(() => $0)"
          },
          {
            "label": "watch",
            "detail": "watch",
            "body": "watch(${quelle}, (neu, alt) => {\n  $0\n})"
          },
          {
            "label": "mounted",
            "detail": "onMounted",
            "body": "onMounted(() => {\n  $0\n})"
          },
          {
            "label": "vfor",
            "detail": "v-for",
            "body": "<${li} v-for=\"${element} in ${liste}\" :key=\"${element}.id\">$0</${li}>"
          },
          {
            "label": "vif",
            "detail": "v-if/v-else",
            "body": "<div v-if=\"${bedingung}\">$0</div>\n<div v-else></div>"
          },
          {
            "label": "vmodel",
            "detail": "v-model",
            "body": "<input v-model=\"${wert}\" />$0"
          },
          {
            "label": "slot",
            "detail": "Slot",
            "body": "<slot name=\"${default}\">$0</slot>"
          },
          {
            "label": "style",
            "detail": "Scoped Style",
            "body": "<style scoped>\n$0\n</style>"
          }
        ],
        "lsp": [
          {
            "label": "vue-language-server",
            "command": "vue-language-server",
            "args": [
              "--stdio"
            ],
            "languageId": "vue",
            "rootMarkers": [
              "vite.config.ts",
              "nuxt.config.ts",
              "package.json",
              ".git"
            ],
            "initializationOptions": {
              "typescript": {
                "tsdk": "node_modules/typescript/lib"
              }
            },
            "install": "npm i -g @vue/language-server",
            "package": {
              "type": "npm",
              "packages": [
                "@vue/language-server",
                "typescript@6"
              ]
            }
          },
          {
            "label": "volar (vls)",
            "command": "vls",
            "args": [],
            "languageId": "vue",
            "install": "npm i -g vls",
            "package": {
              "type": "npm",
              "packages": [
                "vls"
              ]
            }
          }
        ],
        "tokenizer": "markup-mustache"
      }
    ],
    "themes": [],
    "commands": [],
    "events": [],
    "templates": [
      {
        "id": "vue-vite",
        "name": "Vue 3 (Vite)",
        "description": "templates.web.vueDescription",
        "languageId": "vue",
        "kindId": "npm",
        "icon": "V",
        "color": "#42b883",
        "fields": [
          {
            "id": "version",
            "label": "templates.fields.version",
            "default": "0.1.0",
            "pattern": "\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?",
            "patternHint": "templates.fields.versionHint",
            "section": "templates.sections.project",
            "mono": true
          },
          {
            "id": "description",
            "label": "templates.fields.description",
            "placeholder": "templates.fields.descriptionPlaceholder",
            "required": false,
            "section": "templates.sections.project"
          },
          {
            "id": "author",
            "label": "templates.fields.author",
            "placeholder": "templates.fields.authorPlaceholder",
            "required": false,
            "section": "templates.sections.project"
          },
          {
            "id": "license",
            "label": "templates.fields.license",
            "type": "select",
            "choices": [
              {
                "value": "MIT",
                "label": "MIT"
              },
              {
                "value": "Apache-2.0",
                "label": "Apache 2.0"
              },
              {
                "value": "GPL-3.0-or-later",
                "label": "GPL 3.0"
              },
              {
                "value": "BSD-3-Clause",
                "label": "BSD 3-Clause"
              },
              {
                "value": "UNLICENSED",
                "label": "templates.fields.licenseNone"
              }
            ],
            "section": "templates.sections.project"
          },
          {
            "id": "pm",
            "label": "templates.fields.packageManager",
            "type": "select",
            "choices": [
              {
                "value": "npm",
                "label": "npm"
              },
              {
                "value": "pnpm",
                "label": "pnpm"
              },
              {
                "value": "yarn",
                "label": "Yarn"
              },
              {
                "value": "bun",
                "label": "Bun"
              }
            ],
            "section": "templates.sections.build"
          },
          {
            "id": "lang",
            "label": "templates.fields.language",
            "type": "select",
            "choices": [
              {
                "value": "ts",
                "label": "TypeScript"
              },
              {
                "value": "js",
                "label": "JavaScript"
              }
            ],
            "section": "templates.sections.build"
          },
          {
            "id": "router",
            "label": "Vue Router",
            "type": "toggle",
            "default": "false",
            "section": "templates.sections.options"
          },
          {
            "id": "pinia",
            "label": "Pinia (State)",
            "type": "toggle",
            "default": "false",
            "section": "templates.sections.options"
          }
        ],
        "open": "src/App.vue",
        "next": "templates.node.nextDev",
        "setup": [
          {
            "label": "templates.tasks.installDeps",
            "command": "{{pm}}",
            "args": [
              "install"
            ]
          }
        ],
        "files": [
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vue-tsc -b && vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\",\n    \"vue-router\": \"^4.5.0\",\n    \"pinia\": \"^2.3.0\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\",\n    \"typescript\": \"^5.7.3\",\n    \"vue-tsc\": \"^2.2.0\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vue-tsc -b && vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\",\n    \"vue-router\": \"^4.5.0\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\",\n    \"typescript\": \"^5.7.3\",\n    \"vue-tsc\": \"^2.2.0\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vue-tsc -b && vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\",\n    \"pinia\": \"^2.3.0\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\",\n    \"typescript\": \"^5.7.3\",\n    \"vue-tsc\": \"^2.2.0\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vue-tsc -b && vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\",\n    \"typescript\": \"^5.7.3\",\n    \"vue-tsc\": \"^2.2.0\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\",\n    \"vue-router\": \"^4.5.0\",\n    \"pinia\": \"^2.3.0\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\",\n    \"vue-router\": \"^4.5.0\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\",\n    \"pinia\": \"^2.3.0\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"vite build\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^3.5.13\"\n  },\n  \"devDependencies\": {\n    \"vite\": \"^6.0.7\",\n    \"@vitejs/plugin-vue\": \"^5.2.1\"\n  }\n}\n"
          },
          {
            "path": "vite.config.ts",
            "when": {
              "field": "lang",
              "equals": "ts"
            },
            "content": "import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\n\nexport default defineConfig({\n  plugins: [vue()],\n})\n"
          },
          {
            "path": "index.html",
            "when": {
              "field": "lang",
              "equals": "ts"
            },
            "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>{{name}}</title>\n  </head>\n  <body>\n    <div id=\"app\"></div>\n    <script type=\"module\" src=\"/src/main.ts\"></script>\n  </body>\n</html>\n"
          },
          {
            "path": "index.html",
            "when": {
              "field": "lang",
              "equals": "js"
            },
            "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>{{name}}</title>\n  </head>\n  <body>\n    <div id=\"app\"></div>\n    <script type=\"module\" src=\"/src/main.js\"></script>\n  </body>\n</html>\n"
          },
          {
            "path": "src/main.ts",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport { router } from './router'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).use(createPinia()).use(router).mount('#app')\n"
          },
          {
            "path": "src/main.ts",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport { router } from './router'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).use(router).mount('#app')\n"
          },
          {
            "path": "src/main.ts",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).use(createPinia()).mount('#app')\n"
          },
          {
            "path": "src/main.ts",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).mount('#app')\n"
          },
          {
            "path": "src/App.vue",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "equals": "true"
              }
            ],
            "content": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\n\nconst count = ref(0)\n</script>\n\n<template>\n  <main>\n    <h1>{{name}}</h1>\n    <button @click=\"count++\">Klicks: {{ count }}</button>\n    <RouterView />\n  </main>\n</template>\n\n<style scoped>\nmain {\n  text-align: center;\n}\n</style>\n"
          },
          {
            "path": "src/App.vue",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "notEquals": "true"
              }
            ],
            "content": "<script setup lang=\"ts\">\nimport { ref } from 'vue'\n\nconst count = ref(0)\n</script>\n\n<template>\n  <main>\n    <h1>{{name}}</h1>\n    <button @click=\"count++\">Klicks: {{ count }}</button>\n  </main>\n</template>\n\n<style scoped>\nmain {\n  text-align: center;\n}\n</style>\n"
          },
          {
            "path": "src/App.vue",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "equals": "true"
              }
            ],
            "content": "<script setup>\nimport { ref } from 'vue'\n\nconst count = ref(0)\n</script>\n\n<template>\n  <main>\n    <h1>{{name}}</h1>\n    <button @click=\"count++\">Klicks: {{ count }}</button>\n    <RouterView />\n  </main>\n</template>\n\n<style scoped>\nmain {\n  text-align: center;\n}\n</style>\n"
          },
          {
            "path": "src/App.vue",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "notEquals": "true"
              }
            ],
            "content": "<script setup>\nimport { ref } from 'vue'\n\nconst count = ref(0)\n</script>\n\n<template>\n  <main>\n    <h1>{{name}}</h1>\n    <button @click=\"count++\">Klicks: {{ count }}</button>\n  </main>\n</template>\n\n<style scoped>\nmain {\n  text-align: center;\n}\n</style>\n"
          },
          {
            "path": "src/style.css",
            "content": ":root {\n  font-family: system-ui, sans-serif;\n  color-scheme: light dark;\n}\n\nbody {\n  margin: 0;\n  display: grid;\n  place-items: center;\n  min-height: 100vh;\n}\n"
          },
          {
            "path": ".gitignore",
            "content": "node_modules/\ndist/\n.env\n*.log\n.astro/\n.angular/\n.lumen/\n"
          },
          {
            "path": "README.md",
            "content": "# {{name}}\n\n{{description}}\n\n```bash\n{{pm}} install\n{{pm}} run dev\n{{pm}} run build\n```\n"
          },
          {
            "path": "tsconfig.json",
            "when": {
              "field": "lang",
              "equals": "ts"
            },
            "content": "{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"bundler\",\n    \"strict\": true,\n    \"jsx\": \"preserve\",\n    \"noEmit\": true,\n    \"types\": [\n      \"vite/client\"\n    ],\n    \"lib\": [\n      \"ES2023\",\n      \"DOM\"\n    ]\n  },\n  \"include\": [\n    \"src/**/*.ts\",\n    \"src/**/*.vue\"\n  ]\n}\n"
          },
          {
            "path": "src/env.d.ts",
            "when": {
              "field": "lang",
              "equals": "ts"
            },
            "content": "/// <reference types=\"vite/client\" />\n\ndeclare module '*.vue' {\n  import type { DefineComponent } from 'vue'\n  const component: DefineComponent\n  export default component\n}\n"
          },
          {
            "path": "src/router.ts",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "router",
                "equals": "true"
              }
            ],
            "content": "import { createRouter, createWebHistory } from 'vue-router'\nimport Home from './views/Home.vue'\n\nexport const router = createRouter({\n  history: createWebHistory(),\n  routes: [{ path: '/', component: Home }],\n})\n"
          },
          {
            "path": "src/views/Home.vue",
            "when": {
              "field": "router",
              "equals": "true"
            },
            "content": "<template>\n  <p>Startseite</p>\n</template>\n"
          },
          {
            "path": "src/stores/counter.ts",
            "when": [
              {
                "field": "lang",
                "equals": "ts"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "import { defineStore } from 'pinia'\n\nexport const useCounter = defineStore('counter', {\n  state: () => ({ count: 0 }),\n  actions: {\n    increment() {\n      this.count++\n    },\n  },\n})\n"
          },
          {
            "path": "vite.config.js",
            "when": {
              "field": "lang",
              "equals": "js"
            },
            "content": "import { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\n\nexport default defineConfig({\n  plugins: [vue()],\n})\n"
          },
          {
            "path": "src/main.js",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport { router } from './router'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).use(createPinia()).use(router).mount('#app')\n"
          },
          {
            "path": "src/main.js",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "equals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport { router } from './router'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).use(router).mount('#app')\n"
          },
          {
            "path": "src/main.js",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport { createPinia } from 'pinia'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).use(createPinia()).mount('#app')\n"
          },
          {
            "path": "src/main.js",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "notEquals": "true"
              },
              {
                "field": "pinia",
                "notEquals": "true"
              }
            ],
            "content": "import { createApp } from 'vue'\nimport App from './App.vue'\nimport './style.css'\n\ncreateApp(App).mount('#app')\n"
          },
          {
            "path": "src/router.js",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "router",
                "equals": "true"
              }
            ],
            "content": "import { createRouter, createWebHistory } from 'vue-router'\nimport Home from './views/Home.vue'\n\nexport const router = createRouter({\n  history: createWebHistory(),\n  routes: [{ path: '/', component: Home }],\n})\n"
          },
          {
            "path": "src/stores/counter.js",
            "when": [
              {
                "field": "lang",
                "equals": "js"
              },
              {
                "field": "pinia",
                "equals": "true"
              }
            ],
            "content": "import { defineStore } from 'pinia'\n\nexport const useCounter = defineStore('counter', {\n  state: () => ({ count: 0 }),\n  actions: {\n    increment() {\n      this.count++\n    },\n  },\n})\n"
          }
        ]
      }
    ],
    "projectKinds": [],
    "snippets": [],
    "id": "ext.vue",
    "name": "Vue",
    "version": "1.0.5",
    "description": "Vue SFCs: template, <script setup> and <style scoped> in one file, {{ … }} interpolation colored, Composition API and directives as suggestions.",
    "author": "Lumen",
    "icon": "V",
    "color": "#42b883",
    "category": "language"
  }
}
