Angular Json File - My Top 8 Settings (2022)

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มิ.ย. 2024
  • The angular.json file is where we usually configure the angular workspace and every particular project or library. In this video, I will share my TOP 8 the most used settings in my angular.json files, and some advanced configurations that might also be useful in your projects. I hope you will learn something useful today :) If you would like to support my channel you can share this video with your colleagues and friends.
    💥 Angular courses made by Dmytro - bit.ly/df-courses 💥
    ✂️ Use coupon TH-cam_DISCOUNT to get a 10%-off discount ✂️
    🕒 Time Codes:
    00:00:00 - Intro;
    00:00:32 - Setting up yarn as default package manager;
    00:01:48 - Configuring build cache (Angular 13 and above);
    00:04:21 - Default options for Schematics;
    00:09:28 - Do you want to know how to build a custom builder?;
    00:10:11 - How to include 3rd-party styles;
    00:14:33 - How to include 3rd-party js scripts;
    00:17:23 - How to deal with assets;
    00:20:59 - Create your custom config (staging environment);
    00:25:21 - Budgets (How to control bundle size);
    00:28:43 - Outro;
    ↙️ Short Frontend Snacks every week here:
    Twitter - / decodedfrontend
    Instagram - / decodedfrontend
    LinkedIn - / dmezhenskyi
    #angular #angular14 #angularrouter #webdevelopment #ng
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 165

  • @DecodedFrontend
    @DecodedFrontend  ปีที่แล้ว +15

    Please, don't forget to leave your comments and thumbs up if you are interested to see how to create a custom builder! :) UPD. Video about custom builder is published - th-cam.com/video/QbDkDLnXAZE/w-d-xo.html

    • @eqprog
      @eqprog ปีที่แล้ว +2

      This is my comment telling you I’m interested in that video

    • @DecodedFrontend
      @DecodedFrontend  ปีที่แล้ว

      @@eqprog awesome! Thank you 😊

    • @frontend3409
      @frontend3409 ปีที่แล้ว

      I think configurations (and fileReplacements) options, with switching environments depend of environment on wich app is working is the most used setting in angular.json

    • @jonhdoe
      @jonhdoe ปีที่แล้ว

      Please just do it, we'll be here to watch it.

    • @sanjeetbahadur1667
      @sanjeetbahadur1667 ปีที่แล้ว

      i have a question how i can dynamically switch the stylesheets based on some configuration i.e theme based stylesheets?

  • @karthikeyan878
    @karthikeyan878 ปีที่แล้ว +5

    Please make a video on below topics
    1. Husky + lint-staged + eslint + prettier configuration with Angular
    2. Feature flag implementation in Angular

  • @p.s29
    @p.s29 ปีที่แล้ว +8

    Thanks for the video.
    One thing I would like to share.
    Alias for --configuration is -c.
    ng build -c staging.
    Further abbreviated to ng b -c staging. 😅

  • @TheSoma300
    @TheSoma300 ปีที่แล้ว +9

    Would be interested for sure in schematics, also Nx generators and best practices for both 🙏

  • @dimitridovgan6364
    @dimitridovgan6364 ปีที่แล้ว +3

    The best Angular Videos out here! Great! Thank you!

  • @demidovmaxim1008
    @demidovmaxim1008 ปีที่แล้ว

    Yahoo)))) New video. As always very helpful and informative. Thanks a lot.

  • @carlosabud
    @carlosabud ปีที่แล้ว +1

    This is great Dmytro. Not many videos on this topic and nowhere close to these level of clarity :)

  • @mykhailopanas4027
    @mykhailopanas4027 ปีที่แล้ว

    Great job! Thanks for a clear explanation and cool content in general!

  • @Klaunyinya90
    @Klaunyinya90 ปีที่แล้ว +3

    Thanks for this video. I would be interested in learning more about the custom builders :)

  • @venkatv3208
    @venkatv3208 ปีที่แล้ว

    Most awaited topic, thank you so much.

  • @srikanthsiddenki1216
    @srikanthsiddenki1216 ปีที่แล้ว

    Much needed video, Thanks!!

  • @zeeshanmushtaq508
    @zeeshanmushtaq508 ปีที่แล้ว +1

    @Decoded Frontend , We would love to see more videos like these. Thanks for sharing your knowledge with us.

  • @galaxies_dev
    @galaxies_dev ปีที่แล้ว +1

    Very cool settings, especially the part about controlling the injection of CSS and JS files!

  • @amberlum9166
    @amberlum9166 ปีที่แล้ว

    thank you so much. The video helps so much and please keep up the good work!

  • @user-oz5nw2hi1f
    @user-oz5nw2hi1f ปีที่แล้ว

    Thank you, Dmytro!

  • @aliasgartaksali7785
    @aliasgartaksali7785 11 หลายเดือนก่อน

    Loved this videos, much helpful content. You earned my sub ✌

  • @loko1944
    @loko1944 ปีที่แล้ว +1

    Just what I needed

  • @tiagonunes889
    @tiagonunes889 ปีที่แล้ว

    That's some high quality content that you make. Thanks

  • @_cipriangg_
    @_cipriangg_ ปีที่แล้ว

    Very nice video, as always!

  • @EricBichara
    @EricBichara ปีที่แล้ว +1

    Fantastic video again

  • @dawidniegrebecki2205
    @dawidniegrebecki2205 ปีที่แล้ว +6

    Wow, Dmytro, you are creating really great tutorials. I would love to see more people create tutorials on advanced topics. Currently, you are by far my favourite programming TH-cam creator. Thank you for your great work!

    • @DecodedFrontend
      @DecodedFrontend  ปีที่แล้ว

      Hi Dawid! Thank you so much for the feedback 😊

  • @hiteshsuthar1097
    @hiteshsuthar1097 ปีที่แล้ว +1

    Simple and Clean 💚

  • @MrMichaelPet
    @MrMichaelPet 3 หลายเดือนก่อน +1

    Another great video, thank you.

  • @SafetyLast-_-
    @SafetyLast-_- ปีที่แล้ว

    Thanks for useful content! It's really useful.

  • @nikachkhobadze7710
    @nikachkhobadze7710 ปีที่แล้ว

    Nice! Keep up! Really interesting!

  • @user-wh4pm2bj1q
    @user-wh4pm2bj1q ปีที่แล้ว

    Great work!!!!

  • @urchuk2006
    @urchuk2006 ปีที่แล้ว

    Дякую за корисний контент! Продовжуйте в тому ж дусі ✊

  • @shriniwasrocks
    @shriniwasrocks ปีที่แล้ว

    dude.... I actually needed this exact video today.😅

  • @user-yc3jr7kw3f
    @user-yc3jr7kw3f ปีที่แล้ว

    Hi, Dmytro. Just wanna say, that you channel is awesome. Like finding a diamond :) Lots of things that I thought I would never understand you make much more easier for me. Keep going, please :)

  • @mykhailohrokhola815
    @mykhailohrokhola815 ปีที่แล้ว

    Thank you for your content! Waiting for video about a custom builder ⏳

  • @PH2000able
    @PH2000able ปีที่แล้ว +1

    Good job , very useful!

  • @markusingvarsson2146
    @markusingvarsson2146 ปีที่แล้ว

    Really great video!

  • @nanasarathi
    @nanasarathi ปีที่แล้ว +1

    Very informative 👍 Thanks for sharing this 🙏

  • @anhquande
    @anhquande ปีที่แล้ว

    Thank Dmytro, i am new in Angular, and found your videos very helpful

  • @bdbcavalcanti
    @bdbcavalcanti ปีที่แล้ว

    Thanks for the video!!

  • @fernandorochaworld
    @fernandorochaworld ปีที่แล้ว

    Great content! Thank you.

  • @camilaebf
    @camilaebf ปีที่แล้ว

    Good and well explained video!

  • @zubinthoughts
    @zubinthoughts ปีที่แล้ว

    This is something new which i learnt from you channel and keep making such videos thanks

  • @lsst25
    @lsst25 ปีที่แล้ว

    Thanks for your videos, they are really helpfull!

  • @pavelsamchuk7613
    @pavelsamchuk7613 ปีที่แล้ว

    Дякую, Дмитро, за якісний контент

  • @user-qt4rf2lg2g
    @user-qt4rf2lg2g 8 หลายเดือนก่อน

    Great quality video!

  • @stoney.8290
    @stoney.8290 ปีที่แล้ว

    Love your content.... looking forward for topic..

  • @oleksandrvorovchenko8674
    @oleksandrvorovchenko8674 ปีที่แล้ว +1

    Thanks, quite useful. Waiting for custom builders video :-)

  • @angelpellejero8764
    @angelpellejero8764 ปีที่แล้ว

    Thanks for the video. Waiting for the video about a custom builder 🙏

  • @mustafasange
    @mustafasange ปีที่แล้ว

    Thanks for sharing config. Yes, please more video on custom builder.

  • @karthikeyan878
    @karthikeyan878 ปีที่แล้ว

    Very useful . Thank you

  • @aakash261
    @aakash261 ปีที่แล้ว

    This is so helpful 👌 thankyou

  • @carlosiglesias4065
    @carlosiglesias4065 ปีที่แล้ว

    I love your channel!

  • @zielad362
    @zielad362 ปีที่แล้ว

    great video, thank you very much!

  • @carloszm7494
    @carloszm7494 ปีที่แล้ว

    Great info. I really appreciate it.

  • @carlosiglesias8354
    @carlosiglesias8354 ปีที่แล้ว

    I love your videos! My work is much better because of you ♥️

  • @ITStars
    @ITStars ปีที่แล้ว

    really great videos , thanks alot :)😍😍

  • @Brumry
    @Brumry ปีที่แล้ว

    I am really glad you are making videos about angular, I think this is the best YT channel for it. Maybe some suggestions if you are out of ideas: angular animations, view encapsulation, SSR & SEO, Error logging

  • @matiasbpg
    @matiasbpg ปีที่แล้ว

    Great video, I wish I got to your channel when I started with angular

  • @richardkolyadko3363
    @richardkolyadko3363 ปีที่แล้ว

    Thanks, very useful

  • @mancmanomomyst
    @mancmanomomyst ปีที่แล้ว +4

    I don't know why but I thought customising schematics would be something very difficult to do and this video absolutely blew my mind.
    I have a monorepo component library project and at the minute there are lots of manual changes you have to make after using the cli to create new libraries, I can now simply update the schematics and make the whole process significantly easier for new developers!
    I would love to see your video on custom builders to so I hope you get enough additional likes and comments!

    • @DecodedFrontend
      @DecodedFrontend  ปีที่แล้ว

      Glad that the video helped :) indeed, the configuration of schematics is easy!
      P.s next video about custom builder, so stay tuned 😉

  • @omidsoleimani3817
    @omidsoleimani3817 ปีที่แล้ว

    Thanks for this video. Waiting for custom builders video

  • @szwagier170
    @szwagier170 ปีที่แล้ว

    So great job.

  • @gyudhi
    @gyudhi ปีที่แล้ว

    excellent kind of information that we don't get in such a concise way

  • @frontend3409
    @frontend3409 ปีที่แล้ว

    angular.json is with Angular Devs since few years, but it's first video about it on youtube, i believe. Thank you for that 🙇‍♂

  • @newmagicfilms
    @newmagicfilms ปีที่แล้ว +3

    What do you use to edit your videos?
    Btw your video quality / information / skill grows from each video.
    Keep the good work, you make a lot of professional angular devs here!

  • @rajanchavda1417
    @rajanchavda1417 ปีที่แล้ว

    Your videos are Gems

  • @ArifAhmed-fn4ez
    @ArifAhmed-fn4ez ปีที่แล้ว

    Very informative

  • @it-s-me-mohit
    @it-s-me-mohit ปีที่แล้ว

    Great Video

  • @beeTechSE
    @beeTechSE ปีที่แล้ว

    Very useful

  • @jaromirroth1770
    @jaromirroth1770 ปีที่แล้ว +1

    +1 for the video about creating custom builder :)

  • @robiulhassan4263
    @robiulhassan4263 ปีที่แล้ว

    Good job.

  • @JuliaSleeps
    @JuliaSleeps ปีที่แล้ว

    Looking forward for the custom build)

  • @wawawawa919
    @wawawawa919 ปีที่แล้ว

    Thanks for sharing all this valuable information! I'm very interested custom builders, please make one.

  • @YanLoonG13
    @YanLoonG13 ปีที่แล้ว

    NICE!!

  • @picsdh
    @picsdh ปีที่แล้ว

    Hello dymtro,
    Hope all is well on your side. Been following you from my first account for long time,and would like to appreciate the effort you are putting for angular community. Kudos!
    Recently I planned to use another i was getting irrelevant notifications in my first account.
    It would be helpful for everyone if you can look into or cover angular optimization , compression or minification topic.
    Thank you in advance

  • @manusi9669
    @manusi9669 ปีที่แล้ว

    Yes, It's a great offer!

  • @ShashankGram
    @ShashankGram ปีที่แล้ว +3

    Thank you for the video

    • @DecodedFrontend
      @DecodedFrontend  ปีที่แล้ว

      You’re welcome! I hope you will like it 😊

  • @imvasia13
    @imvasia13 ปีที่แล้ว

    Thanks!

  • @reyco1
    @reyco1 ปีที่แล้ว

    I'd love to see a video on how to create a custom builder!

  • @litovkinvital
    @litovkinvital ปีที่แล้ว +1

    Thank you

  • @xavier4028
    @xavier4028 ปีที่แล้ว

    Best Angular-related channel so far.
    Дякую за вашу роботу, привіт з Черкаської області! 🇺🇦

  • @larryamisola
    @larryamisola ปีที่แล้ว

    Looking forward for the custom build.

  • @letok2871
    @letok2871 ปีที่แล้ว

    Very interesting info! Sometimes we use framework not even know how it works)))

  • @mehdin2222
    @mehdin2222 ปีที่แล้ว

    hi thanks for your guid

  • @mehdin2222
    @mehdin2222 ปีที่แล้ว

    YOU are the best

  • @hubert.t4243
    @hubert.t4243 ปีที่แล้ว +1

    Yes please can you please make more videos on schemetics and NX generators as well. Thanks

  • @cozmik_kay
    @cozmik_kay ปีที่แล้ว +1

    Thanks for the video... really insightful.
    I had to build an element recently but ran into a situation where I couldn't bundle the css with the built JS, can u please do a video on angular custom elements? Thanks

  • @yaibanoutsukushii
    @yaibanoutsukushii 4 หลายเดือนก่อน +1

    I'd love to have further videos you smart youtuber

  • @ahmad-g-mustafa
    @ahmad-g-mustafa ปีที่แล้ว

    Amazing

  • @GankMe57
    @GankMe57 ปีที่แล้ว

    Thumb up !

  • @RobertoDuransh
    @RobertoDuransh ปีที่แล้ว +1

    as alwasy awesome video, soo useful. one question why you prefer yarn just curious

  • @user-us8ep3sq3c
    @user-us8ep3sq3c 9 หลายเดือนก่อน

    thanks for such great videos we wish that you create video about how to create big project folder structure

  • @muhammadghaderi4611
    @muhammadghaderi4611 ปีที่แล้ว

    Great, Please add one for Angular Universal best practices.

  • @subbusistha9075
    @subbusistha9075 ปีที่แล้ว

    Yes we are interested

  • @user-ct9ng2zn6f
    @user-ct9ng2zn6f 8 หลายเดือนก่อน

    Hi Dmytro, every time you create an out-of-the-box video, keep it up ❤. I have a question: can we replace any component file with another component file based on environment configuration? As you replaced the development environment file with the production environment file

  • @oranaki7
    @oranaki7 ปีที่แล้ว +1

    Thanks for this video!!
    what vs extension are you using to get the AutoComplete in the angular.json file?

  • @vahidsaebi5653
    @vahidsaebi5653 ปีที่แล้ว

    good to know

  • @RodrigoSalesSilva
    @RodrigoSalesSilva ปีที่แล้ว

    Nice

  • @ahmedmhkl1008
    @ahmedmhkl1008 ปีที่แล้ว

    go on 👍

  • @lukassefcik9623
    @lukassefcik9623 ปีที่แล้ว

    I would love to see custom builders video. 👍

  • @paulh6933
    @paulh6933 ปีที่แล้ว +2

    Good vid. I would be interested in learning more about a custom builder

    • @manojradharapu4688
      @manojradharapu4688 ปีที่แล้ว

      Custom Builder ?

    • @paulh6933
      @paulh6933 ปีที่แล้ว

      @@manojradharapu4688 Check out ~9:30 mark in the vid

  • @ukaszkordiak8702
    @ukaszkordiak8702 ปีที่แล้ว

    i'm waiting for a video about custom builders 😊

  • @nerdobject5351
    @nerdobject5351 ปีที่แล้ว

    I wasn’t aware we could create schematics for ngrx stores. I’m often tasked with building out new features in our front end and building out the boiler plate ngrx store with effects and reducers are error prone. I’m hoping I could use this to remove that friction.

  • @PaweWaszczynski
    @PaweWaszczynski ปีที่แล้ว

    Cool content. How would you lazy load scripts/css that are in separate files and not included in index.html given the fact that files names are dynamic?