{"id":20384793,"url":"https://github.com/ogm710811/creating-a-library-with-the-angular-cli-using-the-library-in-a-separate-application","last_synced_at":"2025-03-04T23:14:00.111Z","repository":{"id":97189860,"uuid":"145260331","full_name":"ogm710811/Creating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application","owner":"ogm710811","description":"Create a test workspace so we can see what it looks like for people to actually use the library in their own application. This a second part of the repository Creating-a-Library-with-the-Angular-CLI","archived":false,"fork":false,"pushed_at":"2018-08-19T00:01:50.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T08:10:20.677Z","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/ogm710811.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":"2018-08-18T23:55:11.000Z","updated_at":"2018-08-19T00:01:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"23a1de53-e408-446c-b389-d6e172349f00","html_url":"https://github.com/ogm710811/Creating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application","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/ogm710811%2FCreating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogm710811%2FCreating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogm710811%2FCreating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogm710811%2FCreating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogm710811","download_url":"https://codeload.github.com/ogm710811/Creating-a-Library-with-the-Angular-CLI-Using-the-Library-in-a-Separate-Application/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935267,"owners_count":20044827,"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-15T02:29:46.974Z","updated_at":"2025-03-04T23:14:00.079Z","avatar_url":"https://github.com/ogm710811.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Angular 6 Library App Part 2 Repository\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.4.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Project Description\n\nNow that we know how to build and package an Angular library, let’s create another test workspace so we can see what it looks like for people to actually use the library in their own application.\n\n## Project WorkSpace\n\nCreate a test workspace so you can use the library in that application.\n\n## Using the Library in a Separate Application\n\nTo use the library in the new application \u003e\u003e\u003e npm install ../example-ng6-lib/dist/example-ng6-lib/example-ng6-lib-0.0.1.tgz\n\n## Tips\n\n1. ALWAYS: Install the library’s .tgz package and NOT the directory.\n2. In order to actually use a component from the library we need to add the library’s module to our App Module. To do this we make two changes in: src\\app\\app.module.ts\n   2.1. Import the ExampleNg6LibModule \u003e\u003e\u003e import { ExampleNg6LibModule } from 'example-ng6-lib';\n   2.2. Add the ExampleNg6LibModule to the imports array in our AppModule.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogm710811%2Fcreating-a-library-with-the-angular-cli-using-the-library-in-a-separate-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogm710811%2Fcreating-a-library-with-the-angular-cli-using-the-library-in-a-separate-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogm710811%2Fcreating-a-library-with-the-angular-cli-using-the-library-in-a-separate-application/lists"}