Components
Table of contents
1. Overview Table of Contents
Components are blocks of code that can be reused between different views or multiple times within the same view. Running the make:component command generates a new component at resources/views/components.
2. Card ComponentTable of Contents
Running the following,
php console make:component my_card --card,
generates a card component.
3. Form ComponentTable of Contents
You can create a form by running the following,
php console make:component my_form --form
After running the command you will be asked a series of questions to determine which ‘method’ and ‘enctype’ you want to use.
4. Table ComponentTable of Contents
Running the following,
php console make:component my_table --table,
generates a table component.