Skip to content
Discussion options

You must be logged in to vote

Added the x-data and it was solved..!!!

<ul x-data x-sort>
  
  <li x-sort:item>foo</li>
  
  <li x-sort:item>bar</li>
  
  <li x-sort:item>baz</li>

</ul>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by francisgradient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant