{"id":21826767,"url":"https://github.com/juzser/vue-lib-scaffold","last_synced_at":"2026-05-06T12:40:11.581Z","repository":{"id":90408960,"uuid":"574865219","full_name":"juzser/vue-lib-scaffold","owner":"juzser","description":"Simple scaffold to build Vue 3 library","archived":false,"fork":false,"pushed_at":"2023-01-17T05:28:17.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T07:08:36.796Z","etag":null,"topics":["library","scaffolding","starter-template","vue3","vue3-library"],"latest_commit_sha":null,"homepage":"","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/juzser.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-12-06T08:42:37.000Z","updated_at":"2023-01-17T05:26:40.000Z","dependencies_parsed_at":"2023-03-13T17:58:40.221Z","dependency_job_id":null,"html_url":"https://github.com/juzser/vue-lib-scaffold","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/juzser%2Fvue-lib-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juzser%2Fvue-lib-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juzser%2Fvue-lib-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juzser%2Fvue-lib-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juzser","download_url":"https://codeload.github.com/juzser/vue-lib-scaffold/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244795519,"owners_count":20511521,"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":["library","scaffolding","starter-template","vue3","vue3-library"],"created_at":"2024-11-27T18:05:11.476Z","updated_at":"2026-05-06T12:40:11.541Z","avatar_url":"https://github.com/juzser.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scaffolding for Vue 3 Library\n\nThis is a simple scaffold for a Vue 3 library. It uses [Vite](https://vitejs.dev/) for building.\nYou can use this as a starting point for your own library.\n\n## Usage\n\n```bash\nyarn\nyarn dev\n```\n\n#### Customize the library name\n\n1. Change the name in `package.json`\n2. Change the name in `vite.config.js`\n3. Change the name in `src/lib.ts`\n4. Change the import in `src/main.ts` to match the name in `src/lib.ts`, used for demo purpose. (`src/Demo.vue`)\n5. Have fun!\n\n#### Note\nCurrently Vue 3 lib mode does not support CSS injection, so the built library will separate the CSS file.\n\n## Publishing (Updating...)\n\nThis will build the library and place it in the `dist` folder. You can then publish this folder to npm.\n\n```bash\nyarn build\n```\n\nThen publish the `dist` folder to npm.\n\n#### Using the library\n\n```bash\nyarn add \u003cyour-library-name\u003e\n```\n\n```js\n// main.js\n// Import library styles\nimport 'your-library-name/dist/style.css';\n```\n\n```js\n// Global import - Contains all components\n// main.js\nimport YourLibraryName from 'your-library-name';\ncreateApp(App).use(YourLibraryName).mount('#app');\n\n// OR Individual component import\n// Component.vue\nimport { YourComponentName } from 'your-library-name';\n```\n\n## Testing\n\nCurrently I'm not applying any testing. All contributions are welcome.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuzser%2Fvue-lib-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuzser%2Fvue-lib-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuzser%2Fvue-lib-scaffold/lists"}