【文件属性】:
文件名称:gatsby-plugin-opensearch:为您的Gatsby网站创建OpenSearch描述
文件大小:70KB
文件格式:ZIP
更新时间:2021-04-05 13:03:04
JavaScript
gatsby-plugin-opensearch
为您的Gatsby网站创建一个OpenSearch描述。
注意:此插件仅在production模式下运行时才生成输出! 要测试您的OpenSearch描述,请运行: gatsby build && gatsby serve
安装
npm install gatsby-plugin-opensearch
如何使用
// In your gatsby-config.js
siteMetadata: {
siteUrl : `https://www.example.com` ,
} ,
plugins : [ {
resolve : `gatsby-plugin-opensearch` ,
options : {
shortName : 'Github' ,
description : 'Search Githu