A crash course of Next.js: UI-related and environmental (part 2)
Perficient Digital Transformation
DECEMBER 31, 2023
In part 1 we covered some fundamentals of Next.js – rendering strategies along with the nuances of getStaticProps, getStaticPaths, getServerSideProps as well as data fetching. Now we are going to talk about UI-related things, such as layouts, styles and fonts, serving statics, as well as typescript and environmental variables. Built-in CSS support Importing global styles To add global styles, the corresponding table must be imported into the pages/_app.js file ( pay attention to the unders
Let's personalize your content