Use of Lodash get in Gatsby/Contentful

后端 未结 0 1823
野的像风
野的像风 2020-12-04 15:55

Example of the Gatsby/Contentful Starter Code:

import get from \'lodash/get\'
    ...
    const post = get(this.props, \'data.contentfulBlogPost\')
    const          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题