I set up an ubuntu
server on AWS
and most things are running smoothly, but there are a couple of issues that have me stumped.
When visiting my web app, you can only interact with the
buttons
in the menu. Trying to access a link like'mypage/items'
results in aHTTP 404 Error
. However, if you click on theHome
bookmark, you'll notice that it appends/items
to theurl
. Despite having all routes defined in myapp.module
, the issue persists:`RouterModule.forRoot([ { path: 'items', component: ItemListComponent}, { path: 'guide', component: GuideComponent}, { path: 'history', component: HistoryComponent}, { path: 'sign-up', component: SignUpComponent}, { path: 'login', component: LoginComponent}, { path: '', component: ItemListComponent} ])`
<ul class="nav navbar-nav"> <li routerLinkActive="active current"><a routerLink="/items">Home</a></li> <li routerLinkActive="active current"><a routerLink="/guide">Poradnik</a></li> <li routerLinkActive="active current"><a routerLink="/history">Historia</a></li> </ul>
Can anyone provide tips on how to make the
table
at theHome
bookmark responsive? It doesn't look good when viewed on mobile devices.