{"id":16222107,"url":"https://github.com/hugodf/vue-multiple-components-in-sfc","last_synced_at":"2025-03-19T11:31:17.613Z","repository":{"id":37817823,"uuid":"149754954","full_name":"HugoDF/vue-multiple-components-in-sfc","owner":"HugoDF","description":"Examples of writing multiple components in a single .vue file","archived":false,"fork":false,"pushed_at":"2022-12-10T23:56:18.000Z","size":2913,"stargazers_count":13,"open_issues_count":22,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T18:33:43.810Z","etag":null,"topics":["jsx","monorepo","render-function","sfc","single-file-component","vue","vue-single-file-component","vuejs","yarn-workspaces"],"latest_commit_sha":null,"homepage":"https://codewithhugo.com/writing-multiple-vue-components-in-a-single-file/","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/HugoDF.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}},"created_at":"2018-09-21T11:37:05.000Z","updated_at":"2024-03-21T18:31:59.000Z","dependencies_parsed_at":"2022-08-18T21:22:44.634Z","dependency_job_id":null,"html_url":"https://github.com/HugoDF/vue-multiple-components-in-sfc","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/HugoDF%2Fvue-multiple-components-in-sfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fvue-multiple-components-in-sfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fvue-multiple-components-in-sfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fvue-multiple-components-in-sfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoDF","download_url":"https://codeload.github.com/HugoDF/vue-multiple-components-in-sfc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989109,"owners_count":20379648,"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":["jsx","monorepo","render-function","sfc","single-file-component","vue","vue-single-file-component","vuejs","yarn-workspaces"],"created_at":"2024-10-10T12:11:12.446Z","updated_at":"2025-03-19T11:31:17.252Z","avatar_url":"https://github.com/HugoDF.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Writing multiple components in a single Vue SFC file\n\nExamples of writing multiple components in a single `.vue` file.\n\nAll 4 examples leverage `vue-cli`.\n\nThis repository leverages [Yarn Workspaces](https://yarnpkg.com/lang/en/docs/workspaces/).\n\nRequirements:\n- Node 10+\n- Yarn 1+\n\nTo start working with the examples, run:\n- `yarn`, to install dependencies required to run all the projects\n\nTo run commands in every example  package, you can use `yarn workspaces \u003ccommand\u003e` eg. `yarn workspaces build`.\n\nTo run commands in a single package, you can use `yarn workspace \u003cworkspace_name\u003e run server`, eg. `yarn workspace 01-render-functions run server`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fvue-multiple-components-in-sfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugodf%2Fvue-multiple-components-in-sfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fvue-multiple-components-in-sfc/lists"}