Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

frontend

数据

由于create-react-app默认不可以引用工程外部的文件,所以我们需要把后端的数据文件给链接过来,方便react读取:

ln data/generated/cities-for-visualization.json development/frontend/react/src/data/

run

# should generate `data/cities-for-map.json` first via backend
# then run map via react

npm run start

reference