angular-component / router

Angular Component Router - A declarative router for Angular applications
MIT License
253 stars 16 forks source link

feat: Rename Router Component #94

Open brandonroberts opened 2 years ago

brandonroberts commented 2 years ago

Currrently you define routes by using

  <router>
    <route></route>
  </router>

This proposal changes the component to routes

  <routes>
    <route></route>
  </routes>

This aligns with react-router v6+ syntax for declaring groups of routes