{"id":19258894,"url":"https://github.com/lassehaslev/vue-autocomplete","last_synced_at":"2026-06-21T14:31:43.083Z","repository":{"id":57126312,"uuid":"84716103","full_name":"LasseHaslev/vue-autocomplete","owner":"LasseHaslev","description":"Simple autocomplete for vue","archived":false,"fork":false,"pushed_at":"2017-03-31T17:25:16.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T12:52:22.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LasseHaslev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-12T10:04:24.000Z","updated_at":"2023-03-05T01:46:03.000Z","dependencies_parsed_at":"2022-08-31T19:03:53.969Z","dependency_job_id":null,"html_url":"https://github.com/LasseHaslev/vue-autocomplete","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-autocomplete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-autocomplete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-autocomplete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LasseHaslev%2Fvue-autocomplete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LasseHaslev","download_url":"https://codeload.github.com/LasseHaslev/vue-autocomplete/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240356192,"owners_count":19788513,"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-11-09T19:14:39.964Z","updated_at":"2026-06-21T14:31:43.077Z","avatar_url":"https://github.com/LasseHaslev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @lassehaslev/vue-autocomplete\n\n\u003e Autocomplete input using Vue\n\n## Installation\nRun ```npm install @lassehaslev/vue-autocomplete --save``` in your project folder\n\n## Usage\n\n``` js\nimport {Autocomplete} from '@lassehaslev/vue-autocomplete';\nexport default {\n    template: `\n        \u003cautocomplete\n            value=\"\"\n            placeholder=\"Type to start autocomplete\"\n            @selected=\"onSelected\"\n            :search=\"onSearch\"\n            :adaptor=\"adaptor\"\n            name=\"\"\u003e\u003c/autocomplete\u003e\n    `,\n\n    methods: {\n        adaptor( data ) {\n            return data.data;\n        },\n        onSearch( query ) {\n            return axios.get( 'http://localhost:1337/api/states?q=' + query );\n        },\n\n        onSelected( selected ) {\n            console.log( selected );\n        }\n    },\n\n    components: {\n        Autocomplete,\n    }\n\n}\n```\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n```\n\nFor detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Fvue-autocomplete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flassehaslev%2Fvue-autocomplete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flassehaslev%2Fvue-autocomplete/lists"}