question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular Material Getting Started should mention ng add as primary installation option

See original GitHub issue

Bug, feature request, or proposal:

Today I went with a beginner in Angular over adding Material Design and she started running the installation manually as she read in the getting started guide.

I think it makes most sense to have the first step in Getting Started being the ng add option.

What is the expected behavior?

Developers should be advised to use ng add @angular/material.

What is the current behavior?

Developers are currently advised to manually install the dependencies, then the snapshots, and after that the ng add option.

What are the steps to reproduce?

Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV

What is the use-case or motivation for changing an existing behavior?

It should be as easy as possible for people starting with Angular to add Angular Material.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

I would love to make the changes to the docs if the maintainers agree it should be addressed. Basically creating this issue to spark a conversation around it, if you agree I’ll submit a PR 👍

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Splaktarcommented, Aug 10, 2019

I don’t think that a PR for this was ever submitted. This is now being worked on as part of https://github.com/angular/components/issues/16426.

0reactions
angular-automatic-lock-bot[bot]commented, Oct 17, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started - Angular Material
This guide explains how to set up your Angular project to begin using Angular Material. It includes information on prerequisites, installing Angular Material, ......
Read more >
Getting started with Angular Material: Installation and first steps
Let's start by creating a new Angular project with help of the CLI command ng new followed by the name of your project....
Read more >
What Is Angular Material and How to Use It? | Tudip
Step 1: Install the Angular CLI · Step 2: Create a workspace for Angular Project · Step 3: Install Angular Material, Angular CDK...
Read more >
Getting started with Angular Material - Rob Ferguson
To install Angular Material I followed the steps in Angular Material's Getting Started guide. ... The ng add command will update your project...
Read more >
Angular Material Installation - Javatpoint
Install the Angular CLI by using npm: npm install -g @angular/cli ... Create a workspace: ng new angular-material-app ... The add command will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found