AWS Amplify in Vanilla Javascript

Working in browsers with AWS Amplify SDK for Authentication

AWS Amplify with Vanilla Javascript

AWS Amplify SDK has been a gateway to access AWS services like Cognito, Lambda, Hosting which is trying to ease the access & configuration of these services through its CLI tool.

According to AWS Amplify docs for Javascript documented here you can do it for web through imports. But when you try with the example code for…