+ 6

How to import a component in SoloLearn?

import {Component} from '@angular/core'; @Component({});

31st May 2020, 8:09 AM
Solo
Solo - avatar
5 odpowiedzi
+ 2
Abdulsalam Al-Ashwal I asked a question on Angular, how can your answer about React help me? P. S: "Look at the tags in the question".
31st May 2020, 8:42 AM
Solo
Solo - avatar
+ 2
Muhammad🏆:-) I mean: import {Component} from '@angular/core'; @Component({}); P. S: "Look at the tags in the question".
31st May 2020, 8:47 AM
Solo
Solo - avatar
0
U mean web page or what u need give more explanation Using tag <iframe src="https//:www.google.com">google</iframe>
31st May 2020, 8:15 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
0
For Example : If You could use a library called react router, this way you could create paths to navigate between your components. https://reacttraining.com/react-router/web/example/basic
31st May 2020, 8:18 AM
Abdulsalam Al-Ashwal
Abdulsalam Al-Ashwal - avatar
0
Please visit this site : https://angular.io/guide/feature-modules Example : // import the new component import { CustomerDashboardponent } from './customer-dashboard/customer-dashboard.component'; @NgModule({ imports: [ CommonModule ], declarations: [ CustomerDashboardComponent ], }) https://angular.io/guide/router
31st May 2020, 8:56 AM
Abdulsalam Al-Ashwal
Abdulsalam Al-Ashwal - avatar