Skip to content

How to display table without components #532

Closed Answered by rappasoft
jcc5018 asked this question in Q&A
Discussion options

You must be logged in to vote

It doesn't seem like you have a grasp on the basics of livewire, which would be a prerequisite to using this package.

You don't need to make any views, the PHP class is enough to do everything and you just call it with Livewire to render. Publishing the views is if you don't like the default way the package looks but isn't recommended.

Generally you call a Livewire component based on where the component class lives in relation to app/Http/Livewire. So if you have a UsersTable Component in that directory, you'd render it with:

<livewire:users-table />

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jcc5018
Comment options

@fahmij8
Comment options

Answer selected by jcc5018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants