{"id":19795118,"url":"https://github.com/embeddedenterprises/ngx-golden-layout-dynamic-library","last_synced_at":"2025-09-07T01:32:54.004Z","repository":{"id":38724249,"uuid":"198427374","full_name":"EmbeddedEnterprises/ngx-golden-layout-dynamic-library","owner":"EmbeddedEnterprises","description":"Dynamically loaded library which can be used with electron and golden-layout","archived":false,"fork":false,"pushed_at":"2023-01-07T08:02:47.000Z","size":3025,"stargazers_count":0,"open_issues_count":28,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-29T07:54:56.034Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmbeddedEnterprises.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}},"created_at":"2019-07-23T12:36:26.000Z","updated_at":"2019-07-23T12:36:44.000Z","dependencies_parsed_at":"2022-09-15T08:30:59.658Z","dependency_job_id":null,"html_url":"https://github.com/EmbeddedEnterprises/ngx-golden-layout-dynamic-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EmbeddedEnterprises/ngx-golden-layout-dynamic-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedEnterprises%2Fngx-golden-layout-dynamic-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedEnterprises%2Fngx-golden-layout-dynamic-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedEnterprises%2Fngx-golden-layout-dynamic-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedEnterprises%2Fngx-golden-layout-dynamic-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmbeddedEnterprises","download_url":"https://codeload.github.com/EmbeddedEnterprises/ngx-golden-layout-dynamic-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedEnterprises%2Fngx-golden-layout-dynamic-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986612,"owners_count":25202704,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T07:15:28.799Z","updated_at":"2025-09-07T01:32:53.961Z","avatar_url":"https://github.com/EmbeddedEnterprises.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-golden-layout-dynamic-library\n\nThis library demonstrates the build process and the lazy loading of dynamic libraries using ngx-golden-layout and angular ivy.\nTo get you started building an own library:\n\n- Create a new library using `ng g lib YOUR_LIBNAME` (memorize the library name, it is important)\n- If not done, install dependencies: `npm i -D ngx-golden-layout jquery golden-layout @types/jquery`\n- Change `tsconfig.lib.json` in your module directory to state `enableIvy: true` under `angularCompilerOptions`\n- Change `tsconfig.lib.json` in your module directory to state `jquery` under `types`\n- Create your library, declare your components in your libraries main module using `forChild` (see example in `projects/demo-library/src/lib/demo-library.module.ts`)\n- Run `ng build YOUR_LIBNAME`\n\nAfter that, you should end up with a ready-to-use library which you can load in ngx-golden-layout.\nTo test it here, run\n- `npm ci`\n- `ng build demo-library`\n- `cd dist/demo-library/bundles`\n- `ls`, to get the filename\n- run an http server (e.g. `python -m http.server`)\n\n\nWhen you're running the ngx-golden-layout-electron project, you might serve the demo library as follows:\n\n\n![screen.png](screen.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembeddedenterprises%2Fngx-golden-layout-dynamic-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembeddedenterprises%2Fngx-golden-layout-dynamic-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembeddedenterprises%2Fngx-golden-layout-dynamic-library/lists"}