SyntaxFix
Write A Post
Hire A Developer
Questions
install json-loader:
json-loader
npm i json-loader --save
create data folder in src:
data
src
mkdir data
put your file(s) there
load your file
var data = require('json!../data/yourfile.json');