【文件属性】:
文件名称:graphcms-示例
文件大小:181KB
文件格式:ZIP
更新时间:2021-02-10 04:17:11
JavaScript
GraphCMS⨯React.js
该示例演示了如何使用graphql-request从GraphCMS查询。
•
如何使用
手动下载
npx degit graphcms/graphcms-examples/with-reactjs with-reactjs
安装并运行:
cd with-react-js
npm install
npm run dev
# or
cd with-react-js
yarn
yarn dev
在Codesandbox上运行
【文件预览】:
graphcms-examples-master
----package.json(816B)
----src()
--------Product.js(271B)
--------index.js(481B)
--------App.js(1KB)
--------serviceWorker.js(5KB)
----README.md(793B)
----yarn.lock(463KB)