Angular4: how do access local json?

前端 未结 7 2218
傲寒
傲寒 2020-12-06 05:00

In Angular2 you could have a folder /data/ and a json file there and you could access it at localhost:4200/data/something.json.

This is no longer possible in Angular

7条回答
提交回复
热议问题