1. 라라벨 설치1composer create-project --prefer-dist laravel/laravel turbocs2. livewire 패키지 설치1composer require livewire/livewirecs3. 모델, 마이그레이션, 시더, 팩토리생성1php artisan make:model -...
livewire_study
38LARAVEL on 20-04-17
1. 구성요소 추가php artisan make:livewire todos2. home.blade.php@extends('layouts.app')@section('content') Dashboard @if (sess...
38LARAVEL on 20-04-11
1. users테이블에 count 컬럼 추가 Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('email')->unique();...
1. 구성요소 추가1php artisan livewire:make CountercsCLASS: app/Http/Livewire/Counter.phpVIEW: resources/views/livewire/counter.blade.php2. app/Http/Livewire/Counter.php1234567891011121314151617181920...
1. app/Http/Livewire/HelloWorld.phppublic $message = '';*기본 입력 public $message = 'message';2. hello-world.blade.php 에 input 부분 작성 HELLO WORLD {{ $name }} 메시지입력 {{ $message...
1. 클래스 구성파일만 작성1php artisan livewire:make HelloWorld2 --inlinecs2. app/Http/Livewire/HelloWrold2.php123456789101112131415161718
1. app/Http/Livewire/HelloWorld.php123456789101112131415
1. 라라벨7 설치1composer create-project --prefer-dist laravel/laravel livewiretutocs2. 라이브와이어 설치1composer require livewire/livewirecs3. welcome에 라이브와이어 주입하기12345678910 ... @li...