💥 Angular Material Design - Tutorial For Running the Official Demo App Using The Angular CLI

preview_player
Показать описание

In this tutorial, we are going to learn how to install the angular material official demo/showcase application. We are going to install it using the Angular CLI and we are going to see the hot reloading functionality of the CLI in action.

We are going to see several different Angular Material widgets in action, and we are going to learn about the Portal functionality of Angular 2 Material and some if possible use cases.

Follow us:

Рекомендации по теме
Комментарии
Автор

My package.json is not the same as yours, it is something like this:
"scripts": {
"build": "gulp material:build-release:clean",
"demo-app": "gulp serve:devapp",
"test": "gulp test",
"tslint": "gulp lint",
"stylelint": "gulp lint",
"e2e": "gulp e2e",
"deploy": "firebase deploy",
"webdriver-manager": "webdriver-manager",
"docs": "gulp docs",
"api": "gulp api-docs"
}

sarahlaasri
Автор

There's a problem with such error: typeerror cannot read property 'config' of null.
There is an issue most likely because of missing file .angular-cli.

johny
Автор

getting error You have to be inside an angular-cli project in order to use the serve command. although I am inside the folder only. What should I do?

SiddharthRay
Автор

My package.json is not the same as yours, it is something like this:
"scripts": {
"build": "gulp build",
"demo-app": "gulp serve:devapp",
"test": "gulp test",
"tslint": "gulp lint",
"stylelint": "gulp lint",
"e2e": "gulp e2e",
"deploy": "firebase deploy",
"webdriver-manager": "webdriver-manager"
and when I want to run this line "npm run-script build" or "npm run build" gives me some errors

leilaonsori
Автор

Speaking too fast !== good teaching. Imagine listening to this guy in class for 50 minutes! No one would be awake. This video would be excellent but MD2 is using a gulpfile for building in the package.json at the time of my comment but there is no build task in the gulpfile. $ npm build doesn't work either. Angular Material 2 is in alpha now so no surprise.

JimPreston