본문 바로가기

카테고리 없음

라라벨 에피소드 1

728x90
반응형

트러스트 프록시 에러가 남

현재 원인 파악 중

 

예제에서 C:\APM_Setup\htdocs\todo-app\app\Http 항목은 복사해서 사용하면 안됨.

 

\Http\Controllers\TasksController.php 는 복사해야 함

 

If you get a class 'fideloper\proxy\trustproxies' not found message, do not copy the \todo-app\app\Http folder.

todo-app\app\Http\Controllers ui TasksController.php pail-eun bogsahaseyo. Copy the TasksController.php file in todo-app\app\Http\Controllers.

 

https://www.lesstif.com/php-and-laravel/windows-valet-php-39126153.html

 

Windows 에서 Valet 으로 PHP 개발 환경 만들기

PHP는 XAMPP 나 Autoset 등 패키지보다는 PHP 만 다운받아서 설치하는 것을 권장합니다.

www.lesstif.com

 

https://github.com/Stackcasts/laravel-todo-app

 

GitHub - Stackcasts/laravel-todo-app: A simple todo app made in Laravel

A simple todo app made in Laravel. Contribute to Stackcasts/laravel-todo-app development by creating an account on GitHub.

github.com

 

https://stackcasts.com/episodes/laravel-tutorial-for-beginners-step-by-step-todo-app-episode-1

 

Screencasts for Professional Developers

Screencasts for professional developers

stackcasts.com

https://www.youtube.com/watch?v=ZmV_-mHVeqg 

Route::get('/', function () {
    return view('tasks.index');
});

 

Controller 완 연결하면 

 

 

TasksController.php 파일을 수정하고 아래와 같이 사용한다.

Route::get('/tasks', 'TasksController@index');
반응형