Angular Library: Learn How To Create And Use It In Your App

preview_player
Показать описание
In this video, you will see how to create an #angular #library, and how to use it in your application.

Useful commands:
- Create a library: ng generate library my-lib
- Build a library is: ng build my-lib --watch

******************************************************
Let's connect
******************************************************

#angular #angularlibrary #library #angulartutorial
Рекомендации по теме
Комментарии
Автор

Love the fact that you took 5 minutes to explain Angular libraries. That was really well explained and to the point. Thank you!

drakZes
Автор

Great video. Keep making videos on Angular.❤

ShubhamSingh-bmig
Автор

Thank you for shaing, I've commented on this video in the past but I always come back for a quick refresher!!

miguelperezpalacios
Автор

Quick, but really good explanations.
Thx Fanis!

Nabulio
Автор

Dear Profanis. Great piece of communication work and what a brilliant tutorial. Thank you.

bjartemicheljensen
Автор

Thanks Profanis, your explanation is very clear and easy to understand..keep it up the good work.. =)

JaiGtz
Автор

Awesome video, very well explained and it's less than 6 minutes!! 😀

edgardoni
Автор

Thank you so much, it's greatest!

demidovmaxim
Автор

Very nice! I would like to see also your approach how you would transform this library component into a webcomponent later. Thanks again for the great content! So clean and simple!

ahmetozturk
Автор

Really liked this video... Thankyou!!😊

binurajtech
Автор

Nice work! I appreciate the effort and excellent content. I would like to suggest that when you are highlighting a screen area, use a yellow or white line. Red on black is very hard to see.

WesFanMan
Автор

Hi, I'm trying to import the my-lib into a separate project. So after creating the lib, I do "ng new test-app" and doing an npm install from the local path, I import MyLibModule from but when I put the <lib-my-lib> tag into the html file, I get the error: "Cannot read properties of undefined (reading 'ɵcmp')"
Any idea what I'm going wrong?

luusyphre
Автор

What about the npm plugin to use it in the app,
Plugin his component like abc and we want to use that component selector in over app how it will possible ?

hamzaakbar
Автор

What a clear explanation!
Do we ever need to run npm install in the library before we build it?

sofiachaveshernandez
Автор

Hi, Do you have a sample where the service class is abstract because I do no see it working ? Thanks the video is simple and clear :)

xavierl
Автор

I see what you can also describe how to use the "paths" option from tsconfig. It's need to link our library code via import links and debug in realtime.

whoopigoldberg
Автор

Thanks. How does watch mode work with multiple libs?

peymanta
Автор

Really good guide, I was able to set up my Angular Library, however what is the best approach to setup a common models.
I will use it in the Library and in another workspace application.

Applekendee
Автор

what tool do you use for design on screen?

dennisist
Автор

Thanks for this useful video, how we can publish this on npm?

matheusjordan