gatsby-firestore:Gatsby插件,用于将Firebase Firestore连接为数据源。 支持子集合

时间:2024-06-02 10:49:00
【文件属性】:

文件名称:gatsby-firestore:Gatsby插件,用于将Firebase Firestore连接为数据源。 支持子集合

文件大小:4KB

文件格式:ZIP

更新时间:2024-06-02 10:49:00

JavaScript

盖茨比消防局 Gatsby插件,用于将连接为数据源。 支持子集合。 用法 通过访问生成并下载Firebase Admin SDK私钥。 重命名,并把下载的.json在GatsbyJS项目crendtial文件的地方(如./credentials.json ) 通过使用npm或yarn运行,将gatsby-source-firestore添加为依赖项: npm i @martinreiche/gatsby-firestore # or yarn add @martinreiche/gatsby-firestore 在gatsby-config.js配置设置,例如: module . exports = { plugins : [ { resolve : `@martinreiche/gatsby-firestore` , options : {


【文件预览】:
gatsby-firestore-master
----.gitignore(18B)
----package.json(1006B)
----index.js(15B)
----README.md(6KB)
----gatsby-node.js(3KB)
----.prettierrc(68B)

网友评论