DocsDeveloper

Adding Components to Your Project

Overview

In JRui, adding components to your project is a straightforward process designed to enhance your development experience. Follow the steps below to seamlessly integrate components into your project.

Component Placement

All JRui components are designed to be added to the "components" folder in your root directory. This ensures a clean and organized structure.

Simply choose the component you want to import into your project, use the CLI to easily install the component and all necessary dependencies, or copy the code and paste it into your desired folder in your project.

Template Integration

Components in JRui are crafted to work seamlessly with specific templates. When browsing components, you'll notice badges indicating if a component is designed for a particular template.

While components are created with specific templates in mind, they can be modified to fit into your existing project's structure and styling.