Added assets folder and an empty posts.json file.

This commit is contained in:
Joachim Nielandt 2017-12-28 11:05:27 +01:00
parent 556e62286f
commit 31921e1db9
3 changed files with 8 additions and 1 deletions

View File

@ -11,6 +11,7 @@
"e2e": "ng e2e"
},
"private": true,
"assets": ["assets", "favicon.ico"],
"dependencies": {
"@angular/animations": "^4.0.0",
"@angular/common": "^4.0.0",

View File

@ -16,5 +16,5 @@
<!--this shows the current route's content-->
<router-outlet></router-outlet>
</div>

6
src/assets/posts.json Normal file
View File

@ -0,0 +1,6 @@
[
{
"title":"First post",
"id":1
}
]