Added blog functionality, reworked backend api requests
This commit is contained in:
1 parent
a4b69c5b9a
commit
dae95810f2
16 files changed
+696
-171
No files matched your search
@@ -5,6 +5,7 @@ import {BlogComponent} from './blog/blog.component';
|
||||
import {NotFoundComponent} from './not-found/not-found.component';
|
||||
import {LoginComponent} from './login/login.component';
|
||||
import {AdminComponent} from './admin/admin.component';
|
||||
import {ArticlePageComponent} from './article-page/article-page.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
@@ -77,6 +78,9 @@ export const routes: Routes = [
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'blog/:slug',
|
||||
component: ArticlePageComponent },
|
||||
{
|
||||
path: '**',
|
||||
pathMatch: 'full',
|
||||
|
||||
Reference in new issue
Block a user