From the course: Build Modern Web Apps with React, Hooks, State Management, and APIs Using Vite or Next.js

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Install dependencies and schema

Install dependencies and schema

Welcome back, in this video we are going to start off our signup and login form component. The first step is when you are looking to create an application with form-based support, then you have to install the dependencies. It includes the react-hook-form, zort, and hook-form-slash-resolvers. Since we have already installed these dependencies, if you haven't done that already, then please go ahead and use this command to install your dependencies. After installing the dependencies, the first step is to define a signup schema. We have already defined a login schema in the previous lessons and we can use the same schema as well, but just for the sake of making this sole signup introductory solution, we are going to use a different schema file. We are going to define this schema and based on this schema, we will be continuing forward. So quickly let's get started with the schema creation. In VS Code, we are going to close down all the unnecessary files and inside the schema folder, we can…

Contents