Angular library tutorial

  Рет қаралды 63,446

BlackBox Tech

BlackBox Tech

Күн бұрын

Пікірлер: 76
@BlackBoxTech
@BlackBoxTech 6 жыл бұрын
Hello Everyone.. Please let me know if you want me to add any specific frontend tutorial..
@BlackBoxTech
@BlackBoxTech 6 жыл бұрын
Hi Felipe please check my channel it's already there
@BlackBoxTech
@BlackBoxTech 6 жыл бұрын
@Felipe Baptistella Vieira here is the link kzbin.info/www/bejne/ipK9Z2SKZqyLm7s
@BlackBoxTech
@BlackBoxTech 6 жыл бұрын
@Felipe Baptistella Vieira can you pls elaborate a bit. Do you want your library holds the scss files? You don't want your styles to be compiled to css?
@BlackBoxTech
@BlackBoxTech 6 жыл бұрын
@Felipe Baptistella Vieira you can create any folder and keep your css. Even you can create more components inside you library. Use ng g ‌c yourlibraryname then it will generate comonent inside your library. For scss you can have a main ex. Style.scss which will be connected to your main lib and in that scss file u can import other scss files. Is that something u wanted?
@asmaamostafa6242
@asmaamostafa6242 5 жыл бұрын
hello, ser first thank you for this great tutorial. but I would like to ask where did you use this command npm install ./dist/weather/weather-0.0.1.tgz? what is the file path? i getting an error says " Refusing to install package with name "rewaa" under a package npm ERR! also called "rewaa". Did you name your project the same npm ERR! as the dependency you're installing?"
@Vlad-nn5ht
@Vlad-nn5ht 2 жыл бұрын
I found the solution from your video 2 days. Thank you very much!
@mohamedibrahimm1944
@mohamedibrahimm1944 2 жыл бұрын
Good tutorial with a clear explanation in a short duration
@NanoSpicer
@NanoSpicer 3 жыл бұрын
This must've been one of the simplest, complete and clear tutorials about Angular
@Scottyis88
@Scottyis88 3 жыл бұрын
Just what I needed to understand how to share components between projects.
@hamzaakbar5321
@hamzaakbar5321 2 жыл бұрын
Very helpful you just made my life easy really appreciated Thank you so much do explaining in details
@manojtm7057
@manojtm7057 4 жыл бұрын
Clear Instructions , Nice walk through about the topic.
@rajkumararora7366
@rajkumararora7366 4 жыл бұрын
Good video. Recommendable for others due to its simplicity to understand. Thank you very much for your efforts.
@scottfwalter
@scottfwalter 5 жыл бұрын
Great video. I'm in the process of migrating our AngularJS component library to Angular and this was very helpful.
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Thanks a lot!
@srinathsathyanath7435
@srinathsathyanath7435 3 жыл бұрын
Highly underrated channel 🔥
@strxross
@strxross 4 жыл бұрын
Hey, great tutorial! Exactly what I was looking for in a short video, thanks :)
@0711sandy
@0711sandy 5 жыл бұрын
Explanation is to the point.
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Thanks a lot Sandeep
@solenoden
@solenoden 3 жыл бұрын
Thanks for the tutorial. It was super helpful, clear and to the point.
@hfzkq
@hfzkq 5 жыл бұрын
Hello, that was very useful with great tips, thanks lot, plz continue
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Thanks a lot for your kind words.
@larryamisola
@larryamisola 6 жыл бұрын
Great tutorial! Very clear and helpful. Thanks for sharing this video. Looking forward for more Angular tutorials to come. I appreciate if you can share a tutorial about Angular workflow. Like incorporating husky, prettier and stylelint --scss inside this monorepo (Angular workspace). Thanks in advance.
@BlackBoxTech
@BlackBoxTech 6 жыл бұрын
Thanks Larry!!! I will surely create one on this line....
@dhanshriautade7575
@dhanshriautade7575 4 жыл бұрын
Hey, Great Video !!!! very helpful
@mjohnson2807
@mjohnson2807 5 жыл бұрын
Good video. Could I make a suggestion that you explain your reasoning behind why you do what you did. Why is just as important as how, especially when determining if I should be doing the same thing in my project.
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Thanks a lot for the suggestion! It really help!!
@oleersoy6547
@oleersoy6547 5 жыл бұрын
Really great video - Thanks!!
@CodingAbroad
@CodingAbroad 2 жыл бұрын
Please could you produce a tutorial on how to make a library for a directive. For example:
@div7012
@div7012 3 жыл бұрын
Thank you for sharing.
@neeleshdubey5355
@neeleshdubey5355 Жыл бұрын
Great bhai
@wilderperozo2050
@wilderperozo2050 5 жыл бұрын
Very useful your video, thanks
@lucassilverio720
@lucassilverio720 3 жыл бұрын
great man! very thank you for that!!
@easy-draw
@easy-draw 4 жыл бұрын
very usefull video rxn, 700 hundred like was from me :)
@CodtachiYoutube
@CodtachiYoutube 5 жыл бұрын
THANKS, MAN, YOUR VIDEO WAS REALLY HELPFUL FOR ME...THANKS AGAIN. _^_
@AnkurRai02
@AnkurRai02 2 жыл бұрын
Thanks for sharing this, I have a question, if I use angular material in my library component then how to automatically install material dependency in the consumer app
@kievandres
@kievandres 3 жыл бұрын
Thanks a lot!
@itsimpl6257
@itsimpl6257 5 жыл бұрын
Very useful video and to the point. Just one suggestion is that you might wanna go little faster.
@winnemucca-sk5392
@winnemucca-sk5392 Жыл бұрын
@BlackBoxTech why did you need to cd to dist folder before publishing?
@srikkanthank
@srikkanthank 2 жыл бұрын
Nice tutorial.. In Windows machines,, the command line is slightly different,, ng new weatherwidget --create-application=false
@joelmatthias
@joelmatthias 2 жыл бұрын
Wow, they're not lying when they say it's hot in Atlanta
@ianaustria8868
@ianaustria8868 4 жыл бұрын
thanks, wonderful video. I just wanted to know how would I be able to use .npmrc instead of using --registry argument when using npm publish?
@shravyanadig4514
@shravyanadig4514 2 жыл бұрын
angular UI library nebular are there any tutorials ?
@piyushsawalkar5961
@piyushsawalkar5961 3 жыл бұрын
how to add external JS into our library?
@sasoft8116
@sasoft8116 4 жыл бұрын
good job
@sathyarj5060
@sathyarj5060 5 жыл бұрын
can you use the component from the the library in any module(feature module) other then app module(root module)
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Yes you can use that in other module as well
@kisanpawar7144
@kisanpawar7144 5 жыл бұрын
If we have multiple web components in our library? can we create the service and share
@digitaldaridesatv1545
@digitaldaridesatv1545 4 жыл бұрын
Hi, Very good tutorial! I'm starting using this in my project and help me a lot. Now I'm struggling using a SERVICE from library. I can not use weather.service and also a new service I created on library. Do you have an example make a SERVICE in library? Thanks alot
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Always think your library should be as much as dumb as possible and driven via inputs. So I would suggest to call the service from your main app and pass the result to your library. You can save number of calls from this
@kisanpawar7144
@kisanpawar7144 5 жыл бұрын
Where should i create global CSS in application
@mailaraja
@mailaraja 5 жыл бұрын
I need to know about Angular 8 building a library with assets
@罗磊-g5x
@罗磊-g5x 5 жыл бұрын
Any news on this?
@rahulvyas121
@rahulvyas121 4 жыл бұрын
HI, Nice video, can you let me know how we can use assets in library and use in project folder
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Yes with new packgr its now possible to have assets within library
@l.e.nichols9382
@l.e.nichols9382 5 жыл бұрын
If i had another library i wished to add beside weather could i just install it into the same project? so in your project you have "weather" and "weathertest" as your demo app that runs your weather libary. What if i want to make another library like "table" so i'd have two, "weather" and "table", is that possible? Will they be compiled into the dist folder together?
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Yes that's correct you can use multiple!
@dhanshriautade7575
@dhanshriautade7575 4 жыл бұрын
Hello my one question for you this library i will use another application also?
@BlackBoxTech
@BlackBoxTech 4 жыл бұрын
Yes its for the same purpose
@bigbuck4966
@bigbuck4966 3 жыл бұрын
Is there any way we can publish this library to gitlab?
@BlackBoxTech
@BlackBoxTech 3 жыл бұрын
Yes you can if they support npm publish
@l.e.nichols9382
@l.e.nichols9382 5 жыл бұрын
What was the private NPM repo you use? I need something that we can use organization wide and not available to the public.
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
it's called verdaccio but for Enterprise solution use something like Nexus or artifactory
@l.e.nichols9382
@l.e.nichols9382 5 жыл бұрын
@@BlackBoxTech thanks!
@ianaustria8868
@ianaustria8868 4 жыл бұрын
@@BlackBoxTech what do you think about github private repository? Would it simply be changing the --registry?
@soumyajeetbai
@soumyajeetbai 5 жыл бұрын
While creating the library i have added my assets folder after the build , in side the dist folder i am unable to find my assets folder and if i want to use my angular library inside my application project i am unable to get the images . Please help any suggestion. How to add the assets folder images and use it
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
don't add anything in dist folder as it will always overwrite after a build. keep your assets in your assets folder only and in angular.json file make the config so that after build it will be inside your dist
@TamalKundu
@TamalKundu 5 жыл бұрын
Hi, Thanks for this awesome video. But I would like to know that how do I upload an angular package to NPM . So that I can use it from anywhere. Even anybody can use it like other NPM package. And which will add directly, not "file:/dist" type. Thanks once again.
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
Hi Tamal this is same as I shown in the video execpt you need to login through your terminal using npm login
@TamalKundu
@TamalKundu 5 жыл бұрын
@@BlackBoxTech thanks. Let me try..
@ferhadothman2376
@ferhadothman2376 5 жыл бұрын
Hi, when I use variables inside the component like: name: string; or @Input() id: string; I'm getting three warnings: WARNING: Condition always false [0:77,8] WARNING: Dropping unreachable code [0:79,8] WARNING: Dropping side-effect-free statement [0:77,8] I tested it in a blank project. Have you any Idea for those Warnings?
@BlackBoxTech
@BlackBoxTech 5 жыл бұрын
If you can share the code in GitHub I can look at it.
@kisanpawar7144
@kisanpawar7144 5 жыл бұрын
@@BlackBoxTech Where should create global CSS and use
Angular 8 differential loading and Firebase hosting deploy
7:55
BlackBox Tech
Рет қаралды 3,6 М.
React Hooks Course - All React Hooks Explained
1:26:21
PedroTech
Рет қаралды 1,1 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
NgTemplateOutlet in Angular - Everything You Have to Know (2022)
35:15
Decoded Frontend
Рет қаралды 55 М.
Change Detection in Angular - You Project Is 20x Slower!
15:16
Monsterlessons Academy
Рет қаралды 75 М.
MASTER Angular in 90 Minutes with This Crash Course
1:29:09
Code with Ahsan
Рет қаралды 103 М.
Webinar: Angular patterns & best practices with John Papa
1:05:29
Pluralsight
Рет қаралды 96 М.
What is NPM, and why do we need it? | Tutorial for beginners
14:27
Coder Coder
Рет қаралды 344 М.
Creating a microfrontend in Angular 19 - Standalone
20:10
Café com Bug
Рет қаралды 1,6 М.
Angular Library: Learn How To Create And Use It In Your App
5:59
Code Shots With Profanis
Рет қаралды 46 М.
ngTemplateOutlet is WAY more useful than I realised
16:36
Joshua Morony
Рет қаралды 78 М.
Angular for Beginners - Let's build a Tic-Tac-Toe PWA
20:46
Fireship
Рет қаралды 498 М.