0
Greeting, I am a simple Laravel project and would like to configure my project to accept Vue.js, but I’m getting this error message;
"Use of undefined constant titulo - assumed 'titulo' (View: C:\Users\Wladimir\Documents\projetos php\imoveis\resources\views\imoveis\create.blade.php)"
Could you please take a look at my repository to see what is configured wrong.
And so is the structure of my project
I believe it’s a simple thing;
================================================
I did so {{ $titulo }}
, still didn’t take
I did an update on the post, could take a look, but just advance your suggestion generated the same problem
– wladyband
He picked it up with @, why would he pick it up with @, is there any explanation for this.
– wladyband
It worked that way
@{{ titulo }}
? If so, it is because Laravel and Vue.js use double keys for variables, placing the@
at the front avoids Laravel’s conflict with the Vue.– Andre Gusmao