Hola me aparece este error y no paso de aquí. Illuminate\ Contracts\ Container\BindingResolutionException
Target class [MainController] does not exist.
12 comentario(s)
Hola me aparece este error y no paso de aquí. Illuminate\ Contracts\ Container\BindingResolutionException
Target class [MainController] does not exist.
"Namespace declaration statement has to be the very first statement or after any declare call in the script"
- <?php
- namespace App\Http\Controllers;
- use Illuminate\Http\Request;
- use App\Http\Requests;
- class MainController extends Controller{
- public funtion home(){
- return view('main.home',[]);
- }
- }
"Parse error: syntax error, unexpected 'funtion' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)"
$ gulp watch /Applications/XAMPP/xamppfiles/htdocs/tienda/node_modules/laravel-elixir-vue-2/index.js:4 Elixir.webpack.mergeConfig({ ^
TypeError: Cannot read property 'mergeConfig' of undefined at /Applications/XAMPP/xamppfiles/htdocs/tienda/node_modules/laravel-elixir-vue-2/index.js:4:17 at /Applications/XAMPP/xamppfiles/htdocs/tienda/node_modules/laravel-elixir/dist/index.js:29:16 at Array.forEach (native) at global.Elixir (/Applications/XAMPP/xamppfiles/htdocs/tienda/node_modules/laravel-elixir/dist/index.js:28:24) at Object. (/Applications/XAMPP/xamppfiles/htdocs/tienda/gulpfile.js:4:1) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3)
Clase 14