This assumes you already have Amplify CLI installed and configured.
- Create a new Vue project (cli 3.0):
vue create sampleProject
- Add Quasar to your project via its plugin while inside the project folder:
vue add quasar
- Follow Amplify Vue Configuration instructions
- Initialize a new Amplify project:
amplify init
- Add Authentication to your project via AWS Cognito:
amplify add auth
- Create AWS Cognito Resources by pushing local changes:
amplify push
- Add the Authenticator drop-in component in your
HelloWorld
component:<amplify-authenticator v-bind:authConfig="authConfig"></amplify-authenticator>
- Profit!
This should show how to use both Quasar as an UI Framework and AWS Amplify to boost productivity when developing Web/Mobile/PWA apps.
NOTE: Authenticator drop-in component will handle SignUp/SignIn/MFA/Password Reset out of the box and you only start paying at 50K MAU for Cognito
What about the hosted UI? I already added a subdomain for it. Do we have to navigate to that url?