📌  相关文章
📜  错误:找不到模块 'gatsby-plugin-styled-components package.json' - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:15.903000             🧑  作者: Mango

代码示例1
npm install gatsby-plugin-styled-components styled-components babel-plugin-styled-components

// in your gatsby-config.js

plugins: [
    {
      resolve: `gatsby-plugin-styled-components`,
      options: {
        displayName: false,
      },
    },
]