Getting Started with Angular 6 Material (Tutorial)

Поділитися
Вставка
  • Опубліковано 17 жов 2024
  • coursetro.com - In this tutorial, I will show you how to get up and running with Angular 6 Material. This will include starting a new Angular 6 project with the Angular CLI, integrating Material and the other necessary dependencies, and learning how to read the documentation so that you can go forward with Material/Angular in confidence. Let's get started!
    - - - - - - - - - - - - - - - - - - - - -
    Subscribe for NEW VIDEOS weekly!
    My site: designcourse.com
    My personal FB account: logodesi...
    Coursetro FB: coursetro
    Coursetro's Twitter: / designcoursecom
    Join my Discord! / discord
    ^-Chat with me and others
    - - - - - - - - - - - - - - - - - - - - -
    Who is Gary Simon? Well, I'm a full stack developer with 2+ decades experience and I teach people how to design and code. I've created around 100+ courses for big brands like LinkedIn, Lynda.com, Pluralsight and Envato Network.
    Now, I focus all of my time and energy on this channel and my website Coursetro.com.
    Come to my discord server or add me on social media and say Hi!
  • Навчання та стиль

КОМЕНТАРІ • 97

  • @MehmetNYarar
    @MehmetNYarar 6 років тому

    Step 2 and 3 was not clear to me in the documentation and your video helped me to understand. Thanks a lot.

  • @theOsitoProject
    @theOsitoProject 5 років тому +1

    i did not know how to start with Angular Material. Five Stars to this brief and nice tutorial

  • @hermanwatson8785
    @hermanwatson8785 6 років тому

    You have got the gift of teaching! Great job. Continue making great videos!

  • @andresmorantes6462
    @andresmorantes6462 4 роки тому

    Thanks Gary, You save my life, very nice video!

  • @samwd5039
    @samwd5039 6 років тому

    the best thing about your tutorials is , you don't just start type the code and ask us to kids memorize the code but you actually go to the official documentation and start explaining from where you got the code and how you are implementing it.. so that in future is the official code changes then we know how to find our way.

  • @liedebunker1253
    @liedebunker1253 5 років тому

    Hi. Do you have a full course on Angular Material please? If you have it, how much is it? and can I download the videos so I can watch with ease? Thank you very much.

  • @amolbharambe8827
    @amolbharambe8827 5 років тому

    Hi Gary, your videos are awesome, liked the way of your explanation on the different topics of web technologies

  • @Abhisheikhs
    @Abhisheikhs 5 років тому

    Hi Gary, thank you for the videos on each such topics. Very Helpful!
    I installed angular cli, visual studio code, then i installed wampserver.
    To view "my first app" on localhost i moved the initial app folder from "users/username/AppData" to "www directory" now it shows page can't be reached.
    How to configure the paths or is there any other issue.

  • @SvartAdamSolander
    @SvartAdamSolander 6 років тому +1

    Awesome tutorial! Just one question! I've followed your steps, but Material doesn't work in my child routes at all. Works great in the parent component, but not children.
    Any ideas?

    • @maamouribilel
      @maamouribilel 5 років тому +1

      simply because you have to import the MaterialModule inside the other components module file :
      import { MaterialModule } from './material';
      and then add it to imports array

  • @elahehmoradi8895
    @elahehmoradi8895 5 років тому +4

    this course was really helpful for me.
    thanks a lot

  • @gghanshyam01
    @gghanshyam01 5 років тому

    Is it okay if I want to use just one module from angular material? Will my project size increase with just the one module that I added or will the entire angular material library size be added to my project size?

  • @muhammadhamzaasif2128
    @muhammadhamzaasif2128 6 років тому +36

    Please make a crash course on MEAN stack development

  • @FabianoQueirozMonte
    @FabianoQueirozMonte 6 років тому

    I was using the flex layout and gave this error:ERROR in node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(25,15): error TS2416: Property '_registry' in type 'MockMatchMedia' is not assignable to the same property in base type 'MatchMedia'.
    Type 'Map' is not assignable to type 'Map'.
    Type 'MockMediaQueryList' is not assignable to type 'MediaQueryList'.
    Types of property 'removeListener' are incompatible.
    Type '(_: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
    Types of parameters '_' and 'listener' are incompatible.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
    Property 'handleEvent' is missing in type 'MediaQueryListListener'.
    node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(82,5): error TS2416: Property 'removeListener' in type 'MockMediaQueryList' is not assignable to the same property in base type 'MediaQueryList'.
    Type '(_: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
    Types of parameters '_' and 'listener' are incompatible.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
    node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(83,38): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(83,99): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(84,41): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(84,102): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/mock/mock-match-media.d.ts(95,67): error TS2304: Cannot find name 'MediaQueryListEvent'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(30,5): error TS2416: Property 'removeListener' in type 'ServerMediaQueryList' is not assignable to the same property in base type 'MediaQueryList'.
    Type '(_: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
    Types of parameters '_' and 'listener' are incompatible.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(31,38): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(31,99): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(32,41): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(32,102): error TS2304: Cannot find name 'MediaQueryListEventMap'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(46,15): error TS2416: Property '_registry' in type 'ServerMatchMedia' is not assignable to the same property in base type 'MatchMedia'.
    Type 'Map' is not assignable to type 'Map'.
    Type 'ServerMediaQueryList' is not assignable to type 'MediaQueryList'.
    Types of property 'removeListener' are incompatible.
    Type '(_: EventListenerOrEventListenerObject) => void' is not assignable to type '(listener: MediaQueryListListener) => void'.
    Types of parameters '_' and 'listener' are incompatible.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerOrEventListenerObject'.
    Type 'MediaQueryListListener' is not assignable to type 'EventListenerObject'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(58,15): error TS2416: Property '_buildMQL' in type 'ServerMatchMedia' is not assignable to the same property in base type 'MatchMedia'.
    Type '(query: string) => ServerMediaQueryList' is not assignable to type '(query: string) => MediaQueryList'.
    Type 'ServerMediaQueryList' is not assignable to type 'MediaQueryList'.
    node_modules/@angular/flex-layout/core/typings/match-media/server-match-media.d.ts(60,67): error TS2304: Cannot find name 'MediaQueryListEvent'.

  • @ccalmus
    @ccalmus 5 років тому

    How can I disable Angular Material own styling? All of them! I don't need them... I have not found an answer to this question and because of this I am stuck... the material css is conflicting with the project's already existing styles.

  • @ericgreen86
    @ericgreen86 6 років тому +1

    Hey, thanks a lot for doing this video. It was really helpful for me to get started with this.

  • @MaheshPullagura
    @MaheshPullagura 6 років тому

    Thank you for sharing knowledge. It's really useful to naive users who Are interested to learn ui development.

  • @MZ-uv3sr
    @MZ-uv3sr 3 роки тому

    What is the intro music from? I think that would be good for code focus

  • @ak-loz
    @ak-loz 6 років тому

    Tried: _@import "~@angular/material/prebuilt-themes/indigo-pink.css";_
    What do you do if, you're not using CLI, I've added the link in the index.html page.
    _BOTH_
    icons and link to Mat Theme don't work for me.

  • @juanjinario
    @juanjinario 6 років тому

    Installing Material in this way I cant use fxLayout or fxFill entry the html components like "", What is missing in the installation?

  • @buntybru3106
    @buntybru3106 5 років тому

    Facing this error
    after ng serve
    ERROR in node_modules/@angular/material/button/typings/button.d.ts(32,44): error TS2304: Cannot find name 'FocusOptions'.

  • @MichaelSmith-tw6yx
    @MichaelSmith-tw6yx 5 років тому +1

    Great video, thanks so much!!

  • @user-13-g9h
    @user-13-g9h 3 роки тому

    Thank Man, good lesson

  • @artede1
    @artede1 6 років тому

    Can't find the written tutorial of this. There is no exact link in the description. But thank's man really appreciate it.

  • @SuperCsingh
    @SuperCsingh 6 років тому

    hey, how did they (on material.angular.io) achieved the effect where buttons from top toolbar (Component, CDK, Guide) comes to the next row as tabbar when you hit the lower breakpoint ?

  • @alexisbesson2444
    @alexisbesson2444 5 років тому

    Thanks for this awesome simply to understand tutorial !

  • @raghibsuleman4993
    @raghibsuleman4993 5 років тому

    wow very useful tutorial.. now i am done. Thank you very much

  • @liosouza8782
    @liosouza8782 6 років тому

    Thank you very much for this class. Success!

  • @johnhansen1031
    @johnhansen1031 6 років тому

    Hi, and thanks for all your videos. But why not use cli and schematics. - "Schematics come packaged with Angular Material, so once you have installed the npm package, they will be available via the Angular CLI."

  • @marwenbentalebali8310
    @marwenbentalebali8310 6 років тому

    Hi,
    thank you for your courses. after project creation It tells me that there are 13 vulnerabilities. what are these vulnerabilities and how do I correct it with the right way. I do not know if you had these vulnerabilities you too because in the video it is not indicated.

  • @khanh4all
    @khanh4all 5 років тому

    Thank you Gary! Keep up good work

  • @Sankey369
    @Sankey369 4 роки тому

    Please make this course with Version 9. Since Ivy is introduced this nee course will state the changes.

  • @masoudkeshavarz
    @masoudkeshavarz 6 років тому

    Why did you install 'hammerjs' and why did you add it into 'main.ts'? Every things work fine in your tutorial without them.

  • @muhammadmuttaki4975
    @muhammadmuttaki4975 6 років тому

    I was waiting for this! Thanks

  • @murtazahaji1291
    @murtazahaji1291 5 років тому +2

    easier way to setup angular material in your application
    after creating new angular project , just run
    ng add @angular/material

  • @impostersyndromedev
    @impostersyndromedev 5 років тому

    This was an excellent, comprehensive tutorial - perfect if you're new to Angular. Thanks!

  • @SWGTBruno
    @SWGTBruno 6 років тому

    Notification Squad UNITE!! Once again, it's great having your videos! Im always learning with you! Thanks!

  • @rizkialiffiyyanto702
    @rizkialiffiyyanto702 6 років тому

    Thanks bro.. maybe u can upload how to make fully sidebar with angular material.. please

  • @ad1tyasinha
    @ad1tyasinha 6 років тому

    Thanks! Most required tutorial

  • @amolmali3583
    @amolmali3583 5 років тому

    Hey Gary..Thank you so much for this great video...

  • @cliffXsoul
    @cliffXsoul 5 років тому

    dude you are amazing, thanks for everything!!

  • @guru5383
    @guru5383 6 років тому

    Bro..how to move header content to secondary toolbar as angular material document site based on device width??
    And how to add responsive grid cards(not one by one, eg: 3 cards to web and 1 card to Mobile)??

  • @MahmoudMohsab
    @MahmoudMohsab 6 років тому

    angular animation already installed in angular 6 by default. right?

  • @tahirzaib5718
    @tahirzaib5718 6 років тому

    /node_modules/@angular/platform-browser/platform-browser"' has no exported member 'HammerLoader'
    Getting that error please help!!

  • @SARAWEL1
    @SARAWEL1 5 років тому

    thenks

  • @StefanMorcodeanu
    @StefanMorcodeanu 6 років тому

    great tutorial, thanks!

  • @JimmiJohnJunnior
    @JimmiJohnJunnior 6 років тому

    Wonderful tutorial.

  • @DiegoCostaDeveloper
    @DiegoCostaDeveloper 6 років тому

    very very nice, man, perfect tks.
    muito bom cara está de parabéns, me ajudou muito. obrigado.

  • @erekhron
    @erekhron 6 років тому

    Finally it is usable but the documentation and unclear examples still suck :( thank you for the tutorial!

  • @manukp595
    @manukp595 4 роки тому

    Awesome!,

  • @matthewogunmola7615
    @matthewogunmola7615 6 років тому

    Good Work Man..Please do a more comprehensive tutorial with MaterialUi..God bless you.

  • @luizmeier
    @luizmeier 6 років тому +1

    With Angular 6+ you can just type ng add @angular/material and forget all the initial setup.

  • @saikamaldidigam8311
    @saikamaldidigam8311 6 років тому

    Super Helpful thanks

  • @jessicadenhollander305
    @jessicadenhollander305 6 років тому

    Very usefull video -> thanks

  • @fasilbabukdy
    @fasilbabukdy 5 років тому

    ERROR Error: A drawer was already declared for 'position="start"'
    at throwMatDuplicatedDrawerError

  • @nghiaaotrong1318
    @nghiaaotrong1318 6 років тому

    Many thanks to you!!!

  • @jankruse8606
    @jankruse8606 6 років тому

    where is the link to the written version? :)

  • @SapumalMoragoda
    @SapumalMoragoda 6 років тому

    Thanks.

  • @BheemojuSathyam
    @BheemojuSathyam 5 років тому

    Thanks bro...

  • @levizjaperdije8499
    @levizjaperdije8499 5 років тому +1

    placeholders please

  • @provasks
    @provasks 6 років тому

    Nice one! Keep it up. By the way, you forgot to empty the bottle ;)

  • @CrovvnBerry
    @CrovvnBerry 6 років тому

    npm install --save hammerjs doesnt work, send help

  • @mijoandjic
    @mijoandjic 5 років тому

    Thanks :)

  • @Сергей-г2е7г
    @Сергей-г2е7г 6 років тому

    You are save me, thanks

  • @ishrakhridoy6708
    @ishrakhridoy6708 6 років тому

    u r the best

  • @seanghay_yath
    @seanghay_yath 6 років тому

    You can also use ng add @anuglar/material

  • @fasilbabukdy
    @fasilbabukdy 5 років тому

    title


    home
    Home



    Left Sidenav
    Right Sidenav



    Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maiores similique veritatis atque reiciendis incidunt ut aut
    asperiores, ratione quod voluptatum natus voluptatem maxime nam, quaerat blanditiis aperiam expedita eaque quasi.
    left
    right

  • @pinhasdror
    @pinhasdror 6 років тому

    the written version is:
    coursetro.com/posts/code/113/How-to-Build-an-Angular-5-Material-App

  • @shivankitraj6852
    @shivankitraj6852 6 років тому

    angular. thanks

  • @Skia_
    @Skia_ 6 років тому

    Bro do you workout?
    You look buff :D

  • @DebmallyaBhattacharya
    @DebmallyaBhattacharya 6 років тому +6

    Although I love most of your videos, this one didn't make any sense.
    Half of what you did in the beginning can be done with 1 command : ng add @angular/material.
    That is the essence of Angular Material 6!

    • @FieelFlying
      @FieelFlying 6 років тому +5

      This video makes a lot of sense. As a beginner i hated when tutorials follow the line of thinking "just do ng add @angular/material and everything works!" without even explaining why or what's happening under the hood, all proud of the mysterious magic. "So simple!". It's indeed simpler but i'd love to understand what i'm doing, which i often do with videos like this one.
      ng add @angular/material will also import stuff, edit your index.html and add the script tag, edit your style.css file and add the font/icons import which is nice, if you know what it does.

    • @luchinazo
      @luchinazo 6 років тому

      @Valentine Awe why are you watching this then twat, it's for beginners go eat shit someplace else.

    • @valentineawe6161
      @valentineawe6161 6 років тому

      @@luchinazo okay

    • @valentineawe6161
      @valentineawe6161 6 років тому

      @@luchinazo but learn to take corrections. okay. if the topic says angular 6. then teach angular 6.

  • @rishobguhapatra945
    @rishobguhapatra945 5 років тому

    Im getting a ton of warnings

    • @rishobguhapatra945
      @rishobguhapatra945 5 років тому

      Even though I installed all the dependencies, the cdk seems to not recognize angular/core

  • @chrischoir3594
    @chrischoir3594 5 років тому

    angular sucks

  • @adamkenton2585
    @adamkenton2585 6 років тому +3

    Buy a Mac bro

  • @leoperkins
    @leoperkins 6 років тому

    Thank you very much, that was a great intro.