Answers for "next js styled components"

4

styled componets npm

npm i styled-components
Posted by: Guest on August-14-2020
0

styled-components with next js

//create .babelrc 
{
  "presets": ["next/babel"],
  "plugins": [["styled-components", { "ssr": true }]]
}

yarn add -D babel-plugin-styled-components
Posted by: Guest on October-21-2021

Code answers related to "next js styled components"

Browse Popular Code Answers by Language