Nhi. Sirf ek component banana padega. Vo hi reuse ho jayega. Example agar dekhna hai to humne ek video already banayi huyi hai "Angular Exercise" Playlist me "work with Data Modal" karke
I followed the exact procedure as yours, but when I go to the laptop component routerlink, it's displaying "laptop works!" after putting the tag in products.component.html, but within the default products page. It's not getting displayed on a blank page. If I remove the router-outlet tag from the products component then it doesn't show anything. How to resolve this issue?
If Product component is the parent of laptop component then you have to use router outlet in product component create an empty string route for product page. Or you can share screenshot in instagram then I can better understand what you doing exactly
Sir, i followed the exact procedure as yours, but when i go to the laptop component routerlink, it's displaying "laptop works!" , but within the default products page. It's not getting displayed in a blank page. What to do?
@@uxtrendz Sir how to get your tutorials Source Code. if we have some difficulty in doing work from your tutorials like i have some difficulty in Nested and Child Routes
great content sir, The only reason for less likes is the Good Quality Highly Engaging Videos. We get so engrossed that we just forget to hit the Like button :D
Hi Anup Sir, i am following your this angular tutorials series. Very clear explanation 👍. Since Angular 12 out now, should i skip some topics or i need to watch it completely?
hello sir, U are making components for each product.suppose if I have 100 products or more than that in website then it is not possible to create component for each product. So what is best practice for that instead of creating component for each product
You need to create only one component for product. Then you have to change product data dynamically. Check my Angular Exercise "Work with Data Modal in Angular"
It was great:) But I get the issue when i use it in this way and that's the project architecture: (this is not working ) { path: '', loadChildren: () => import('./home/home.module').then( m => m.HomePageModule), children:[ {path: '', component: HomePage}, {path: 'about1', component: AboutPage}, {path: 'contact1', component: ContactPage} ] },
When in m typeing this "localhost:4200/product/laptop" in my browser then it is working, but when i m trying to acces that link by clicking on know more it not showing anything , it is stuck on the se page of product not going further, what can be the issue ? routerLink is not working for the child component in product.component.html
at 05:08 this is not the case even if you load the component on the parent route it will work perfectly, no need to specify the empty path route in the children. Although in both the cases it should work fine.
To menu ke liye ek subject bana lo ek service me for example: menuExist = new BehaviorSubject(true) aur uske Baad jis page me nahi chaiye uske ts me mana kar do ki is Component me nahi chaiye 😊 matlab ye hai ki us ts me this._headerService.menuExist.next(false)
Sir how to get your tutorials Source Code. if we have some difficulty in doing work from your tutorials like i have some difficulty in Nested and Child Routes