diff --git a/package.json b/package.json index c5f82ec..f753cfe 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "e2e": "ng e2e" }, "private": true, + "assets": ["assets", "favicon.ico"], "dependencies": { "@angular/animations": "^4.0.0", "@angular/common": "^4.0.0", diff --git a/src/app/app.component.html b/src/app/app.component.html index e6b9f04..a54fe27 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -16,5 +16,5 @@ - + \ No newline at end of file diff --git a/src/assets/posts.json b/src/assets/posts.json new file mode 100644 index 0000000..35b6c90 --- /dev/null +++ b/src/assets/posts.json @@ -0,0 +1,6 @@ +[ + { + "title":"First post", + "id":1 + } +] \ No newline at end of file