This PR aims to solve that currently the Resources are only for Forms. It implements the logic to retrieve lists of Resources and display dynamic table in the frontend as well as dynamic show pages.
Now we have implement 3 components for each field. Index, Details and Form.
[x] New ResourcesIndex Vue component
[x] New ResourceDetails Vue component
[x] Implemented a basic set of index and detail fields
[x] Refactored all the logic from a Form class to a Resource class.
[x] New controllers for the index and show handling
Now the Resource expects an Eloquent model. In the first instance I thought it would be nice to be independent of Eloquent, but it gives us so many advantages such as pagination, and relation and so on.
This PR aims to solve that currently the Resources are only for Forms. It implements the logic to retrieve lists of Resources and display dynamic table in the frontend as well as dynamic show pages. Now we have implement 3 components for each field. Index, Details and Form.
ResourcesIndex
Vue componentResourceDetails
Vue component