{"id":17032741,"url":"https://github.com/showonne/vue-date","last_synced_at":"2025-04-08T10:15:04.885Z","repository":{"id":90085363,"uuid":"64600612","full_name":"showonne/vue-date","owner":"showonne","description":"A datepicker component for Vue.js","archived":false,"fork":false,"pushed_at":"2024-11-08T14:18:09.000Z","size":1173,"stargazers_count":156,"open_issues_count":12,"forks_count":62,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-01T07:52:29.276Z","etag":null,"topics":["datepicker-component","javascript","vue"],"latest_commit_sha":null,"homepage":"https://showonne.github.io/vue-date/","language":"Vue","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/showonne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-07-31T15:21:48.000Z","updated_at":"2024-11-08T14:17:30.000Z","dependencies_parsed_at":"2024-12-01T23:18:07.207Z","dependency_job_id":null,"html_url":"https://github.com/showonne/vue-date","commit_stats":{"total_commits":81,"total_committers":5,"mean_commits":16.2,"dds":0.3827160493827161,"last_synced_commit":"3f12eb834e60f610760ecf0258b508eec304f66e"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showonne%2Fvue-date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showonne%2Fvue-date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showonne%2Fvue-date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showonne%2Fvue-date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/showonne","download_url":"https://codeload.github.com/showonne/vue-date/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819933,"owners_count":21001394,"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":["datepicker-component","javascript","vue"],"created_at":"2024-10-14T08:29:51.123Z","updated_at":"2025-04-08T10:15:04.847Z","avatar_url":"https://github.com/showonne.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-datepicker\n\n\u003e datepicker component for Vue.js, already support Vue.js 2.x, the Vue.js 1.x version is on branch `vue-1.x`(not maintain).\n\n\nLive Demo is [here](https://showonne.github.io/vue-date/)\n\n## Installation\n\n\u003enpm install vue-date --save\n\n## Usage\n\n#### use with single `.vue` file:\n\n```html\n\u003ctemplate\u003e\n    \u003cdiv\u003e\n        \u003cdatepicker v-model=\"date\"\u003e\u003c/datepicker\u003e\n    \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n    import datepicker from 'vue-date'\n    export default {\n        data() {\n            return {\n                date: '2016-10-16'\n            }\n        },\n        components: { datepicker }\n    }\n\u003c/script\u003e\n```\n\n#### use in browser:\n```html\n//index.html\n\u003chtml\u003e\n    \u003cscript src=\"path/to/vue.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"path/to/index.js\"\u003e\u003c/script\u003e\n    \u003cbody\u003e\n        \u003cdiv id=\"app\"\u003e\n            \u003cdatepicker v-model=\"date\"\u003e\u003c/datepicker\u003e\n        \u003c/div\u003e\n        \u003cscript\u003e\n            new Vue({\n                el: '#app',\n                data: {\n                    date: '2016-10-16'\n                },\n                components: { datepicker }\n            })\n        \u003c/script\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Props\n\n#### language\n###### Type: `String`\n###### Default: `en`\n###### Optional: `en(English)`, `zh-cn(Chinese)`, `uk(Ukrainsk)`, `es(Spanish)`\nThe language type. Support `en`(English), `zh-cn`(Chinese), `uk`(Ukrainsk) and `es`(Spanish) now.\n\n#### min\n###### Type: `String`\n###### Default: `1970-01-01`\nThe minimum date.\n\n```html\n//pass string\n\u003cdatepicker v-model=\"start\" min=\"2015-01-01\"\u003c/datepicker\u003e\n//or pass variable\n\u003cdatepicker v-model=\"start\" :min=\"variable\"\u003e\u003c/datepicker\u003e\n```\n\n#### max\n###### Type: `String`\n###### Default: `3016-01-01`\nThe maximum date. Usage is same of `min`.\n\n#### range\n###### Type: `Boolean`\n###### Default: `false`\nUse range mode or not. If  pass `true`, the binding value should be an Array  containg the range start and range end. eg. `['1970-01-01', '3016-01-01']`\n\n## Licence\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowonne%2Fvue-date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowonne%2Fvue-date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowonne%2Fvue-date/lists"}