{"id":16473767,"url":"https://github.com/dergunovs/vite-lib-code-splitting","last_synced_at":"2025-05-13T04:57:19.141Z","repository":{"id":166026102,"uuid":"610372788","full_name":"dergunovs/vite-lib-code-splitting","owner":"dergunovs","description":"Vite library mode with code splitting","archived":false,"fork":false,"pushed_at":"2023-03-09T06:15:25.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T04:57:13.344Z","etag":null,"topics":["code-splitting","vite","vite-library-mode","vue","vue3"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=yFttSoLva0M","language":"TypeScript","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/dergunovs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T16:34:57.000Z","updated_at":"2024-05-12T15:37:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"448a41b8-6f7f-4b9e-b72b-d17d65f98e41","html_url":"https://github.com/dergunovs/vite-lib-code-splitting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dergunovs%2Fvite-lib-code-splitting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dergunovs%2Fvite-lib-code-splitting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dergunovs%2Fvite-lib-code-splitting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dergunovs%2Fvite-lib-code-splitting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dergunovs","download_url":"https://codeload.github.com/dergunovs/vite-lib-code-splitting/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253877509,"owners_count":21977643,"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":["code-splitting","vite","vite-library-mode","vue","vue3"],"created_at":"2024-10-11T12:28:07.563Z","updated_at":"2025-05-13T04:57:19.119Z","avatar_url":"https://github.com/dergunovs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite Library mode Code splitting\n\nПапка dist специально включена для того, чтобы увидеть билд. Каждый файл компонента содержит свои стили. У всех компонентов есть свои d.ts файлы. Все пропсы, включая те, которые используют интерфейсы из внешнего файла, корректно отображаются в конечном приложении.\n\nТакже для примера используются дополнительные общие стили, которые не связаны с компонентами. Их можно отдельно импортировать.\n\nПример импорта в конечном Vue приложении:\n\n```\n\u003cscript setup lang=\"ts\"\u003e\n  import { UiButton, UiInput } from \"vite-lib-code-splitting\";\n\u003c/script\u003e\n\n\u003cstyle\u003e\n  @import \"vite-lib-code-splitting\";\n\u003c/style\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdergunovs%2Fvite-lib-code-splitting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdergunovs%2Fvite-lib-code-splitting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdergunovs%2Fvite-lib-code-splitting/lists"}