{"id":13611861,"url":"https://github.com/CyCraft/vue-intellisense","last_synced_at":"2025-04-13T05:33:46.140Z","repository":{"id":45686192,"uuid":"294886808","full_name":"CyCraft/vue-intellisense","owner":"CyCraft","description":"A CLI tool to help enabling IntelliSense on your Vue components","archived":false,"fork":false,"pushed_at":"2023-02-23T23:15:15.000Z","size":572,"stargazers_count":60,"open_issues_count":11,"forks_count":10,"subscribers_count":1,"default_branch":"production","last_synced_at":"2025-04-03T10:38:16.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyCraft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mesqueeb","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-09-12T06:41:08.000Z","updated_at":"2024-03-13T07:18:11.000Z","dependencies_parsed_at":"2024-06-18T16:44:32.267Z","dependency_job_id":"86b3be2f-5c04-4015-80d5-26e41f3c978c","html_url":"https://github.com/CyCraft/vue-intellisense","commit_stats":{"total_commits":65,"total_committers":7,"mean_commits":9.285714285714286,"dds":0.3384615384615385,"last_synced_commit":"a155db35c7943b3bf3415f53fff7cc022343ee77"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCraft%2Fvue-intellisense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCraft%2Fvue-intellisense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCraft%2Fvue-intellisense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCraft%2Fvue-intellisense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyCraft","download_url":"https://codeload.github.com/CyCraft/vue-intellisense/tar.gz/refs/heads/production","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670514,"owners_count":21142896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T19:02:15.586Z","updated_at":"2025-04-13T05:33:45.458Z","avatar_url":"https://github.com/CyCraft.png","language":"TypeScript","funding_links":["https://github.com/sponsors/mesqueeb"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Vue IntelliSense\n\n\u003ca href=\"https://www.npmjs.com/package/vue-intellisense\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vue-intellisense.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/vue-intellisense\"\u003e\u003cimg src=\"https://img.shields.io/npm/dw/vue-intellisense.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\n\u003e A CLI tool to help enabling IntelliSense on your Vue components\n\n```shell\nnpm i -D vue-intellisense\n\n# or globally\nnpm i -g vue-intellisense\n```\n\n## Usage\n\nYou'll need VSCode and Vetur installed.\n\nVetur has a feature to get IntelliSense for your Vue components, however, you need to provide a bunch of config files for this.\n\nThe Vue IntelliSense CLI generates the required files with zero-config required!\n\n### TLDR;\n\nGenerate the required Vetur files for all your Vue components:\n\n```\nvue-int --input /src/components --output vetur --recursive\n```\n\nThen add this to your package.json:\n\n```json\n{\n  \"vetur\": {\n    \"tags\": \"vetur/tags.json\",\n    \"attributes\": \"vetur/attributes.json\"\n  }\n}\n```\n\nThat's it! 🎉\n\n### Motivation\n\nCheck out the [blog post](https://medium.com/@lucaban/vue-intellisense-in-vscode-33cf8860e092)!\n\n### CLI Manual\n\n```\nUsage\n  $ vue-int --input \u003cpath\u003e --output \u003cpath\u003e\n\nOptions\n  --output, -o  A folder to save the generated files.\n  --input, -i  Either a Vue file, or a folder with vue components. In case it's a folder, it will not care about nested folders.\n  --recursive, -r  consider all vue files in all nested folders as well.\n  --alias, -a  List files contain aliases config.\n\nExamples\n  # target a specific Vue file to generate IntelliSense for\n  $ vue-int --output 'vetur' --input 'src/components/MyButton.vue'\n\n  # target all files in a folder - without nested folders\n  $ vue-int --output 'vetur' --input 'src/components'\n\n  # target all files in a folder - with nested folders\n  $ vue-int --output 'vetur' --input 'src/components' --recursive\n\n  # target all files in a folder - with nested folders and and using alias for import\n  $ vue-int --output 'vetur' --input 'src/components' --recursive --alias alias.config.js other-alias.config.js\n\n  # support nested object inside config file like: { resolve: { alias: { \"@components\": \"/src/components\" } } }\n  $ vue-int --output 'vetur' --input 'src/components' --recursive --alias webpack.config.js#resolve#alias other-alias.config.js\n\nExits with code 0 when done or with 1 when an error has occured.\n```\n\n### Contributing\n\nAny contribution welcome! Would love for this to work with other code editors as well!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCyCraft%2Fvue-intellisense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCyCraft%2Fvue-intellisense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCyCraft%2Fvue-intellisense/lists"}