Added assets folder and an empty posts.json file.
This commit is contained in:
parent
556e62286f
commit
31921e1db9
@ -11,6 +11,7 @@
|
||||
"e2e": "ng e2e"
|
||||
},
|
||||
"private": true,
|
||||
"assets": ["assets", "favicon.ico"],
|
||||
"dependencies": {
|
||||
"@angular/animations": "^4.0.0",
|
||||
"@angular/common": "^4.0.0",
|
||||
|
||||
@ -16,5 +16,5 @@
|
||||
|
||||
<!--this shows the current route's content-->
|
||||
<router-outlet></router-outlet>
|
||||
|
||||
|
||||
</div>
|
||||
6
src/assets/posts.json
Normal file
6
src/assets/posts.json
Normal file
@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"title":"First post",
|
||||
"id":1
|
||||
}
|
||||
]
|
||||
Loading…
Reference in New Issue
Block a user