Angular Json File - My Top 8 Settings (2022)

Sdílet
Vložit
  • čas přidán 27. 07. 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 CZcams_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
  • Jak na to + styl

Komentáře • 165

  • @DecodedFrontend
    @DecodedFrontend  Před 2 lety +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 - czcams.com/video/QbDkDLnXAZE/video.html

    • @eqprog
      @eqprog Před 2 lety +2

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

    • @DecodedFrontend
      @DecodedFrontend  Před 2 lety

      @@eqprog awesome! Thank you 😊

    • @frontend3409
      @frontend3409 Před 2 lety

      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 Před rokem

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

    • @sanjeetbahadur1667
      @sanjeetbahadur1667 Před rokem

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

  • @karthikeyan878
    @karthikeyan878 Před 2 lety +5

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

  • @dimitridovgan6364
    @dimitridovgan6364 Před 2 lety +3

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

  • @p.s29
    @p.s29 Před 2 lety +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. 😅

  • @urchuk2006
    @urchuk2006 Před 2 lety

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

  • @venkatv3208
    @venkatv3208 Před 2 lety

    Most awaited topic, thank you so much.

  • @Klaunyinya90
    @Klaunyinya90 Před 2 lety +3

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

  • @demidovmaxim1008
    @demidovmaxim1008 Před 2 lety

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

  • @TheSoma300
    @TheSoma300 Před 2 lety +9

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

  • @zeeshanmushtaq508
    @zeeshanmushtaq508 Před 2 lety +1

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

  • @carlosabud
    @carlosabud Před 2 lety +1

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

  • @pavelsamchuk7613
    @pavelsamchuk7613 Před 2 lety

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

  • @anhquande
    @anhquande Před rokem

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

  • @user-yc3jr7kw3f
    @user-yc3jr7kw3f Před 2 lety

    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 :)

  • @mykhailopanas4027
    @mykhailopanas4027 Před 2 lety

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

  • @aliasgartaksali7785
    @aliasgartaksali7785 Před rokem

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

  • @_cipriangg_
    @_cipriangg_ Před 2 lety

    Very nice video, as always!

  • @galaxies_dev
    @galaxies_dev Před 2 lety +1

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

  • @srikanthsiddenki1216
    @srikanthsiddenki1216 Před rokem

    Much needed video, Thanks!!

  • @amberlum9166
    @amberlum9166 Před rokem

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

  • @hiteshsuthar1097
    @hiteshsuthar1097 Před rokem +1

    Simple and Clean 💚

  • @MrMichaelPet
    @MrMichaelPet Před 4 měsíci +1

    Another great video, thank you.

  • @dawidniegrebecki2205
    @dawidniegrebecki2205 Před 2 lety +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 CZcams creator. Thank you for your great work!

  • @mykhailohrokhola815
    @mykhailohrokhola815 Před 2 lety

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

  • @user-oz5nw2hi1f
    @user-oz5nw2hi1f Před rokem

    Thank you, Dmytro!

  • @zubinthoughts
    @zubinthoughts Před rokem

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

  • @nikachkhobadze7710
    @nikachkhobadze7710 Před 2 lety

    Nice! Keep up! Really interesting!

  • @SafetyLast-_-
    @SafetyLast-_- Před rokem

    Thanks for useful content! It's really useful.

  • @tiagonunes889
    @tiagonunes889 Před rokem

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

  • @oleksandrvorovchenko8674
    @oleksandrvorovchenko8674 Před 2 lety +1

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

  • @EricBichara
    @EricBichara Před rokem +1

    Fantastic video again

  • @user-wh4pm2bj1q
    @user-wh4pm2bj1q Před 2 lety

    Great work!!!!

  • @camilaebf
    @camilaebf Před 2 lety

    Good and well explained video!

  • @angelpellejero8764
    @angelpellejero8764 Před 2 lety

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

  • @nanasarathi
    @nanasarathi Před 2 lety +1

    Very informative 👍 Thanks for sharing this 🙏

  • @markusingvarsson2146
    @markusingvarsson2146 Před 2 lety

    Really great video!

  • @user-qt4rf2lg2g
    @user-qt4rf2lg2g Před 9 měsíci

    Great quality video!

  • @mustafasange
    @mustafasange Před 2 lety

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

  • @lsst25
    @lsst25 Před rokem

    Thanks for your videos, they are really helpfull!

  • @loko1944
    @loko1944 Před 2 lety +1

    Just what I needed

  • @stoney.8290
    @stoney.8290 Před 2 lety

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

  • @shriniwasrocks
    @shriniwasrocks Před 2 lety

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

  • @fernandorochaworld
    @fernandorochaworld Před rokem

    Great content! Thank you.

  • @PH2000able
    @PH2000able Před 2 lety +1

    Good job , very useful!

  • @Brumry
    @Brumry Před 2 lety

    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

  • @carlosiglesias8354
    @carlosiglesias8354 Před rokem

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

  • @bdbcavalcanti
    @bdbcavalcanti Před rokem

    Thanks for the video!!

  • @matiasbpg
    @matiasbpg Před 2 lety

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

  • @zielad362
    @zielad362 Před 2 lety

    great video, thank you very much!

  • @aakash261
    @aakash261 Před rokem

    This is so helpful 👌 thankyou

  • @omidsoleimani3817
    @omidsoleimani3817 Před 2 lety

    Thanks for this video. Waiting for custom builders video

  • @karthikeyan878
    @karthikeyan878 Před 2 lety

    Very useful . Thank you

  • @carlosiglesias4065
    @carlosiglesias4065 Před rokem

    I love your channel!

  • @frontend3409
    @frontend3409 Před 2 lety

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

  • @ITStars
    @ITStars Před 2 lety

    really great videos , thanks alot :)😍😍

  • @carloszm7494
    @carloszm7494 Před 2 lety

    Great info. I really appreciate it.

  • @gyudhi
    @gyudhi Před 2 lety

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

  • @xavier4028
    @xavier4028 Před 2 lety

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

  • @richardkolyadko3363
    @richardkolyadko3363 Před 2 lety

    Thanks, very useful

  • @szwagier170
    @szwagier170 Před rokem

    So great job.

  • @wawawawa919
    @wawawawa919 Před rokem

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

  • @mancmanomomyst
    @mancmanomomyst Před rokem +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  Před rokem

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

  • @JuliaSleeps
    @JuliaSleeps Před rokem

    Looking forward for the custom build)

  • @rajanchavda1417
    @rajanchavda1417 Před 2 lety

    Your videos are Gems

  • @it-s-me-mohit
    @it-s-me-mohit Před rokem

    Great Video

  • @jaromirroth1770
    @jaromirroth1770 Před rokem +1

    +1 for the video about creating custom builder :)

  • @manusi9669
    @manusi9669 Před 2 lety

    Yes, It's a great offer!

  • @ArifAhmed-fn4ez
    @ArifAhmed-fn4ez Před rokem

    Very informative

  • @larryamisola
    @larryamisola Před 2 lety

    Looking forward for the custom build.

  • @picsdh
    @picsdh Před rokem

    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

  • @robiulhassan4263
    @robiulhassan4263 Před rokem

    Good job.

  • @beeTechSE
    @beeTechSE Před 2 lety

    Very useful

  • @letok2871
    @letok2871 Před 2 lety

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

  • @hubert.t4243
    @hubert.t4243 Před 2 lety +1

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

  • @yaibanoutsukushii
    @yaibanoutsukushii Před 5 měsíci +1

    I'd love to have further videos you smart youtuber

  • @litovkinvital
    @litovkinvital Před 2 lety +1

    Thank you

  • @ShashankGram
    @ShashankGram Před 2 lety +3

    Thank you for the video

  • @mehdin2222
    @mehdin2222 Před 2 lety

    YOU are the best

  • @subbusistha9075
    @subbusistha9075 Před 2 lety

    Yes we are interested

  • @reyco1
    @reyco1 Před rokem

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

  • @imvasia13
    @imvasia13 Před 2 lety

    Thanks!

  • @RobertoDuransh
    @RobertoDuransh Před 2 lety +1

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

  • @mehdin2222
    @mehdin2222 Před 2 lety

    hi thanks for your guid

  • @user-us8ep3sq3c
    @user-us8ep3sq3c Před 10 měsíci

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

  • @YanLoonG13
    @YanLoonG13 Před 2 lety

    NICE!!

  • @ahmad-g-mustafa
    @ahmad-g-mustafa Před rokem

    Amazing

  • @Simon_IHG
    @Simon_IHG Před rokem

    Thumb up !

  • @muhammadghaderi4611
    @muhammadghaderi4611 Před 2 lety

    Great, Please add one for Angular Universal best practices.

  • @cozmik_kay
    @cozmik_kay Před 2 lety +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

  • @newmagicfilms
    @newmagicfilms Před 2 lety +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!

  • @user-ct9ng2zn6f
    @user-ct9ng2zn6f Před 9 měsíci

    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

  • @lukassefcik9623
    @lukassefcik9623 Před rokem

    I would love to see custom builders video. 👍

  • @vahidsaebi5653
    @vahidsaebi5653 Před 2 lety

    good to know

  • @paulh6933
    @paulh6933 Před 2 lety +2

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

  • @ukaszkordiak8702
    @ukaszkordiak8702 Před 2 lety

    i'm waiting for a video about custom builders 😊

  • @misha130
    @misha130 Před rokem

    Thats really interesting. Now do the worst 8 settings in angular.json

  • @RodrigoSalesSilva
    @RodrigoSalesSilva Před 2 lety

    Nice

  • @ahmedmhkl1008
    @ahmedmhkl1008 Před 2 lety

    go on 👍

  • @oranaki7
    @oranaki7 Před 2 lety +1

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

  • @sameralkhatib4474
    @sameralkhatib4474 Před rokem

    Id love to learn about custom builders and serve