📜  在 Gatsby 中安装样式组件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:41.253000             🧑  作者: Mango

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

Also requires this addition to gatsby-config.js
module.exports = {
  plugins: [`gatsby-plugin-styled-components`],
}