问题
I'm working on an idea to create a quiz primarily using the Angular Material Stepper. I have the concept working on my localhost but I'd like to put it on StackBlitz so I can easily share the concept with coworkers with just a link.
I've followed all the steps
npm install --save @angular/material @angular/cdk
npm install --save @angular/animations
Import the NgModule for each component you want to use:
Include a theme
Gesture Support
And I'm still seeing a blank screen when I try to use
<mat-horizontal-stepper>
My full source can be viewed here
What exactly am I doing wrong? This works on my local machine.
回答1:
Seems that updating your dependencies solves the issue.
In your screenshot of the dependencies, there's a refresh icon and when clicked, updates your dependencies.
Updated demo
来源:https://stackoverflow.com/questions/50990209/angular-material-stepper-not-working-on-stackblitz