분류 전체보기
-
[리액트프로젝트 시작하기] 1. 설정하기React.js 2021. 12. 28. 14:02
[1] 회사에서 하는 프로젝트이므로, private로 만들고, Add a README file을 추가한다. [2] 프로젝트를 생성 할 경로로 CD 명령어로 이동한다. git clone 생성한 레포 레포 폴더 -README.md 이런 구조의 프로젝트가 클론되고 자동 remote된다. [3] 리액트 프로젝트 생성하기. cd 생성된레포폴더 npx create-react-app . //현재 경로에 리액트앱을 생성한다. You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0). We no longer support global installation of Create React App. Please remove any ..
-
협업을 위해 git을 공부하자Git 2021. 12. 27. 17:30
https://wayhome25.github.io/git/2017/07/08/git-first-pull-request-story/ git 초보를 위한 풀리퀘스트(pull request) 방법 · 초보몽키의 개발공부로그 개발을 하다 보면 코드를 여러 개로 복사해야 하는 일이 자주 생긴다. 코드를 통째로 복사하고 나서 원래 코드와는 상관없이 독립적으로 개발을 진행할 수 있는데, 이렇게 독립적으로 개발하는 wayhome25.github.io https://mylko72.gitbooks.io/git/content/branch/branch_type.html
-
iis에서 리액트앱 배포하기(2)React.js 2021. 12. 26. 15:52
react-router-dom : v6 배포까지 성공하고 성공적으로 개발중에 문제가 발생했는데, 그건 바로 react-router-dom을 설치하여 페이지 이동할때 문제다. npm i react-router-dom 을 설치한뒤에 테스트를 해보고자 import React from "react"; import { Routes, Route, Link } from "react-router-dom"; function App() { return ( Home About Users ); } function Home() { return Home; } function About() { return About; } function Users() { return Users; } export default App; 정삭적으로 ..
-
iis에서 리액트앱 배포하기(1)React.js 2021. 12. 26. 15:36
iis:8.5 react:17 리액트로 만든 페이지를 배포하고 싶은데 방법을 찾아보았다. npx create-react-app my-react-app cd my-react-app npm run start localhost:3000에 잘 시작된다. 이제 iis로 리액트 프로젝트를 배포하기 위해서 npm run build GOODS//내프로젝트 -build -static -css -js -index.html 배포파일이 생성 됬을때 build파일이 생기고 안에 빌드된 파일들이 생김. iis(인터넷 정보 관리자)로 들어간다음에 -> 웹사이트 추가 사이트 생성해주고 사이트 기본설정에 들어간뒤에 build파일 폴더를 경로로 잡아준다. 그리고 해당 url로 들어가면 성공!!!
-
카카오톡 알림톡 API를 사용시 프로젝트 생성할때 composer사용PHP/Composer 2021. 12. 23. 11:43
알림톡은 무조건 대행사를 사용 해야 하는데, 대행사에서 제공하는 api 문서가 잘 되있긴하나, 따로 SDK가 존재 하지 않았다. 그래서 php용 SDK를 직접 만들어서 Packagist.org에 올리는게 목표다. 프로젝트 경로 KAKAO /PAY /alimtalk.php /history.php KAKAO 경로에서 composer init명령어 실행. $ composer init PS 프로젝트경로> composer init Welcome to the Composer config generator This command will guide you through creating your composer.json config. Package name (/) [administrator/kakao]: 패키지명 Th..
-
EXPO푸시알람 구현하기(4)카테고리 없음 2021. 12. 17. 10:45
expo로 앱 만들기중에 만약 페이지 이동이나 하단 탭 메뉴나 왼쪽 네비게이션 메뉴 같은것을 사용할때 대체적으로 쓰는게 react navigation이다. 참고 할만한 자료 https://www.youtube.com/watch?v=ayxRtBHw754&list=PLQWFhX-gwJbmmqcP-9zMXBaxQbGKfIJY2&index=5 https://www.youtube.com/watch?v=zM1ntDiKOzw&list=PLG6Cxs9K4_gMdlpZlBC5De7FN59k5PkLr&index=7
-
EXPO푸시알람 구현하기(3)React-Native/Expo앱만들기 2021. 12. 16. 23:49
푸시알람을 탭했을때 해당하는 스크린으로 이동하는걸 구현하고싶다. 구현하는 과정중 TypeError: _reactNative.Linking.createURL is not a function https://docs.expo.dev/versions/v43.0.0/sdk/linking/ Linking - Expo Documentation Expo is an open-source platform for making universal native apps for Android, iOS, and the web with JavaScript and React. docs.expo.dev expo install expo-linking 이놈으로 바꿔서 깔아서 사용해야함