dabit3 / next.js-amplify-workshop

AWS Amplify Next.js workshop
361 stars 87 forks source link

CSS stylesheets missing when using withAuthenticator from the aws-amplify-react package when using aws-amplify-react v4 #23

Closed chstrong closed 2 years ago

chstrong commented 2 years ago

As of version 4 following import is required in profile.js to apply default styling:

import '@aws-amplify/ui-react/styles.css';
chstrong commented 2 years ago

This can be closed. Just thought I'll add a comment as it took me an hour to figure it out.