标签: html reactjs
我需要在app.js中放入多个wordpress页面。文件
我设法用let pagesURL来称呼他们,
http: // localhost / react-wordpress / headless-react / admin / wp-json / wp / v2 / pages? include [] = 25 & include [] = 2
但是我想单独给他们打电话 例如:
<div> {page1} </ div> <div> {page2} </ div>