{"id":15818200,"url":"https://github.com/wellwind/nativescriptpractice","last_synced_at":"2025-04-01T05:12:59.633Z","repository":{"id":82780419,"uuid":"83429214","full_name":"wellwind/NativeScriptPractice","owner":"wellwind","description":null,"archived":false,"fork":false,"pushed_at":"2017-03-04T12:30:15.000Z","size":9025,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T06:08:21.762Z","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/wellwind.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":"2017-02-28T12:23:11.000Z","updated_at":"2017-02-28T12:24:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b2a9bdb-a780-4368-8c08-6efdc1611af3","html_url":"https://github.com/wellwind/NativeScriptPractice","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"12077a70b6b3c26272ed8f7c49ead5fd5f61de95"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellwind%2FNativeScriptPractice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellwind%2FNativeScriptPractice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellwind%2FNativeScriptPractice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellwind%2FNativeScriptPractice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellwind","download_url":"https://codeload.github.com/wellwind/NativeScriptPractice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586036,"owners_count":20801028,"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-10-05T06:01:22.741Z","updated_at":"2025-04-01T05:12:59.612Z","avatar_url":"https://github.com/wellwind.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NativeScriptWithNgCli\n\nThe [NativeScript](http://docs.nativescript.org/) project but you can use [Angular CLI](https://github.com/angular/angular-cli) to generate component.\n\n## Usage\n\n```\ngit clone https://github.com/wellwind/native-script-with-ng-cli.git\ncd native-script-with-ng-cli\nnpm install\nnpm run start.android\n```\n\nYou will see a very simple NativeScript app.\n\n## Using Angular CLI to generate component\n\n```\nng g c test\n```\n\nThe command will generate a component in `src\\app\\test`. You have to use [NativeScript UI](http://docs.nativescript.org/ui/basics) on `*.html` file.\n\nNativeScript use absolute view path for `templateUrl` in `@Component`, to enable relative path, you have to add `moduleId: module.id` to `@Component()` decorator.\n\n```typescript\n@Component({\n    moduleId: module.id,\n    selector: \"app-test\",\n    templateUrl: \"./test.component.html\"\n})\nexport class TestComponent implements OnInit {\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellwind%2Fnativescriptpractice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellwind%2Fnativescriptpractice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellwind%2Fnativescriptpractice/lists"}