How to set up a Laravel project with VueJs

0

Hello, I am a simple Laravel project and would like to configure my project for it to accept vue.js, but I am having 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 set wrong.

My Repository

And so is the structure of my project

I think it's a simple thing;

===================================================== =

I did so {{ $titulo }} , even so did not catch

    
asked by anonymous 22.10.2017 / 20:32

1 answer

1

You have to adjust this line: link

You are only putting titulo instead of $titulo , so laravel understands it as a constant.

Source: link

    
23.10.2017 / 00:45