clickfwd / blade-standalone-component-tags

Demo for using blade without Laravel and with support for x-component tag syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract methods to view as well

MaximVanhove opened this issue · comments

First things first, thank you for the super helpful example!

However I found out that you can also pass the component methods if you pass $this->data() instead of $this->extractPublicProperties()

$props = $this->extractPublicProperties();