{"id":22057074,"url":"https://github.com/fspoettel/vite-vue-ts-template","last_synced_at":"2026-02-14T00:10:03.255Z","repository":{"id":38020115,"uuid":"498494036","full_name":"fspoettel/vite-vue-ts-template","owner":"fspoettel","description":"extended version of vite's official vue-ts template. adds CI, linting, testing and auto-formatting. ","archived":false,"fork":false,"pushed_at":"2024-08-03T14:19:17.000Z","size":594,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T23:51:14.961Z","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/fspoettel.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":"2022-05-31T20:51:24.000Z","updated_at":"2024-08-03T14:16:50.000Z","dependencies_parsed_at":"2023-11-06T13:43:56.520Z","dependency_job_id":"791e39b0-831d-4ba9-b1d5-4ab8228c6b67","html_url":"https://github.com/fspoettel/vite-vue-ts-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fspoettel%2Fvite-vue-ts-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fspoettel%2Fvite-vue-ts-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fspoettel%2Fvite-vue-ts-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fspoettel%2Fvite-vue-ts-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fspoettel","download_url":"https://codeload.github.com/fspoettel/vite-vue-ts-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253773285,"owners_count":21962188,"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-30T16:16:04.717Z","updated_at":"2025-09-19T11:11:24.019Z","avatar_url":"https://github.com/fspoettel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-vue-ts-template\n\n\u003e extended version of [vite](https://vitejs.dev/)'s official `vue-ts` template.\n\nadditional features:\n\n- [Vue Devtools](https://devtools.vuejs.org/).\n- [eslint](https://eslint.org/) for linting.\n- [vitest](https://vitest.dev) + [testing-library](https://testing-library.com/) for testing.\n- [prettier](https://prettier.io/) + [lefthook](https://github.com/evilmartians/lefthook) hook for code formatting.\n- [github actions](https://github.com/features/actions) for continuous integration.\n\n## Install\n\n```sh\n# install dependencies.\nnpm i\n\n# (optional) install pre-commit hook.\nnpm run precommit:configure\n```\n\n## Develop\n\n```sh\nnpm run dev\n```\n\n## Build\n\n```sh\nnpm run build\n```\n\n## Test\n\n```sh\nnpm test\n\n# run vitest in watch mode.\nnpm run test:watch\n\n# collect coverage.\nnpm run test:coverage\n```\n\n## Lint\n\n```sh\nnpm run lint\n```\n\n## Format\n\n```sh\nnpm run fmt\n```\n\n## Preview\n\nServes the content of `./dist` over a local http server.\n\n```sh\nnpm run preview\n```\n\n---\n\n## Type Support For `.vue` Imports in TS\n\nSince TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's Take Over mode by following these steps:\n\n1. Run `Extensions: Show Built-in Extensions` from VS Code's command palette, look for `TypeScript and JavaScript Language Features`, then right click and select `Disable (Workspace)`. By default, Take Over mode will enable itself if the default TypeScript extension is disabled.\n2. Reload the VS Code window by running `Developer: Reload Window` from the command palette.\n\nYou can learn more about Take Over mode [here](https://github.com/johnsoncodehk/volar/discussions/471).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffspoettel%2Fvite-vue-ts-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffspoettel%2Fvite-vue-ts-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffspoettel%2Fvite-vue-ts-template/lists"}