lootmarket / laravel-vue-blade-component

Standalone Blade Directive for Jankless Vue Components rendered with Blade.
MIT License
22 stars 3 forks source link

Completely forgot support for PHP-focused Computed Properties. #6

Open unr opened 7 years ago

unr commented 7 years ago

Simple things like :class='ComputedClass' need planning.

unr commented 7 years ago

I think the answer is obvious?

Computed property in Vue -> If you really need it computed on update/changes. Attribute on Laravel Model -> Same property on initial load. Might not need vuejs version if it doesn't change dynamically...