Angular Material 步进器无法在 StackBlitz 上运行
Angular Material Stepper not working on StackBlitz
我正在研究一个主要使用 the Angular Material Stepper. I have the concept working on my localhost but I'd like to put it on StackBlitz 创建测验的想法,这样我就可以轻松地与 link 的同事分享这个概念。
我已完成所有步骤
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
当我尝试使用
时,我仍然看到空白屏幕
<mat-horizontal-stepper>
我的完整来源可以是 viewed here
我到底做错了什么?这适用于我的本地机器。
似乎更新您的依赖项可以解决问题。
在您的依赖项的屏幕截图中,有一个刷新图标,单击它会更新您的依赖项。
我正在研究一个主要使用 the Angular Material Stepper. I have the concept working on my localhost but I'd like to put it on StackBlitz 创建测验的想法,这样我就可以轻松地与 link 的同事分享这个概念。
我已完成所有步骤
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
当我尝试使用
时,我仍然看到空白屏幕<mat-horizontal-stepper>
我的完整来源可以是 viewed here
我到底做错了什么?这适用于我的本地机器。
似乎更新您的依赖项可以解决问题。
在您的依赖项的屏幕截图中,有一个刷新图标,单击它会更新您的依赖项。