小编Kub*_*łat的帖子

Angular Routerlink 不起作用,我做的一切都是正确的

  <nav>
    <a routerlink="/students"><button mat-stroked-button class="button"><mat-icon class="icon">face</mat-icon><br><br><br>students</button></a>
  </nav>
Run Code Online (Sandbox Code Playgroud)
const routes: Routes = [
  {path: 'students', component: StudentsComponent},
];
Run Code Online (Sandbox Code Playgroud)

角度路由器链接不起作用。还导入了 RoutingComponent app.module 等。

path routerlink angular

0
推荐指数
1
解决办法
252
查看次数

标签 统计

angular ×1

path ×1

routerlink ×1