소소한 이야기

소소한 이야기

  • 분류 전체보기 (80)
    • 개발 (76)
      • PHP (11)
      • GO (2)
      • Python (4)
      • Node (6)
      • jQuery (4)
      • Vue (2)
      • CSS (1)
      • iOS (11)
      • Android (14)
      • React Native (2)
      • Flutter (2)
      • R (2)
      • AWS (11)
      • Server (1)
      • Terraform (0)
      • Git (1)
    • 개발 - NoCode (3)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

소소한 이야기

컨텐츠 검색

태그

IOS swift 어플 Android 기록 mustadd airtable wkwebview amazon bedrock laravel 게임 Android Studio 게임스샷 php 맛집 머스태드 nestjs 안드로이드 서비스 어비스리움

최근글

댓글

공지사항

아카이브

data(1)

  • Vue + Laravel, input file component 를 부모 component에서 사용하기

    Laravel 환경에서 Form template 아래에 ImageUpload template를 만들고 비동기 통신 테스트 예제 소스 ImageUpload.vue- input file과 image preview를 할 수 있는 template.- $.emit을 이용해 form emplate에 파일 정보를 넘겨준다. Add.vue- Form template.- input box와 위에 만들어준 image-upload에 v-model을 적용.- 전송은 axios를 이용. 이름 주소 Example file input Example file input 저장하기 App.js- component 추가 // 추가Vue.component('image-upload',require('./components/ImageUploa..

    2018.03.21
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바