DEV1001 - Sign in with Google
ID | DEV1001 |
---|
Category | Authorization |
Name | Sign in with Google |
Instructor | - |
Length | 0.5 Hours |
Level | Introductory |
Introduction
Develop a google sign in components.
Knowledge Points
Prerequisites
- Instance nodejs 8:
curl -sL https://deb.nodesource.com/setup_8.x | bash -
- Install vue 3:
yarn global add @vue/cli
Target Audience
Slides
Reference
Video
Content
Step 1: Apply google api client id
Press CONFIGURE A PROJECT
button to create a api for you website. And remember client_id YOUR_CLIENT_ID.apps.googleusercontent.com
Step 2: Create a vue project
Step 3: Develop your code
a. Import google api & fonts in your project.
b. Import npm package and use it.
c. Develop your login component.
Step 4: Check synatx and bind your localhost as your domain
Snapshort images