Projeto final do módulo 1 do Bootcamp Alura Front-end JAMStack
This document discusses an example app that utilizes styled-components, a styling solution that supports universal styles. The app extends the Document component to inject server-side rendered styles into the head of the HTML, and it also sets up a global theme for styled-components using the NextJS custom App component. The article provides instructions on deploying the example app using Vercel and CodeSandbox, and it also includes a note about avoiding an error when using the Link component from next/link within a styled-component.
To install the theme, follow these steps:
create-next-app with npm or Yarn to bootstrap the example.This article discusses an example app that utilizes styled-components as a styling solution that supports universal styles. It provides instructions on deploying the app using Vercel and CodeSandbox, and also includes a note about avoiding an error when using the Link component within a styled-component.