react-schemaorg:经过React检查的Schema.org JSON-LD

时间:2021-05-02 08:54:44
【文件属性】:
文件名称:react-schemaorg:经过React检查的Schema.org JSON-LD
文件大小:76KB
文件格式:ZIP
更新时间:2021-05-02 08:54:44
react typescript semantic-web schema-org json-ld React模式 在您的React应用程序中轻松插入有效的Schema.org JSON-LD。 该库提供了用于普通React应用程序的和用于 helmetJsonLdProp() 。 对Schema.org TypeScript定义使用 。 注意:这不是官方支持的Google产品。 用法 安装和所需的版本: npm install schema-dts npm install react-schemaorg 普通React用法 要插入一个简单的JSON-LD代码段,请执行以下操作: import { Person } from "schema-dts" ; import { JsonLd } from "react-schemaorg" ; export function GraceHopper ( ) { return ( < JsonLd < Pe
【文件预览】:
react-schemaorg-master
----src()
--------json-ld.tsx(5KB)
--------index.ts(670B)
--------tsconfig.json(66B)
----babel.config.js(208B)
----.vscode()
--------settings.json(140B)
----tsconfig-base.json(287B)
----.npmignore(20B)
----type-test()
--------jsonld_func_test.ts(362B)
--------jsonld_component_test.tsx(594B)
--------tsconfig.json(106B)
----CONTRIBUTING.md(1KB)
----.travis.yml(96B)
----tsconfig.json(198B)
----LICENSE(11KB)
----test()
--------jsonld_func_test.ts(4KB)
--------jsonld_component_test.tsx(1KB)
--------tsconfig.json(106B)
----jest.config.js(1010B)
----README.md(3KB)
----.gitignore(51B)
----package-lock.json(278KB)
----package.json(2KB)

网友评论