lottery2 [ Lottery DApp개발 - 5 ] bootstrap library 추가 ( yarn add bootstrap 명령어 사용 ) src 폴더 아래 index.js 파일 수정 import 'bootstrap/dist/css/bootstrap.css' src 폴더 아래 App.js 파일 수정 render() { return ( {/* Header - Pot, Betting characters */} Lottery Edit src/App.js and save to reload. Learn React ); } } chrome 에서 bootstrap 적용 확인 ( yarn start 명령어 사용 ) bootstrap4의 jumbotron 테마 활용 : https://www.w3schools.com/bootstrap4/.. 2021. 3. 6. [ Lottery DApp개발 - 4 ] 이번 실습에서 할 일 : 지금까지 만든 Lottery Smart Contract 를 React 에 연결하여 Front에 붙임 메타마스크 설치 필수 ——————————————————————————————-//npm Create React app 설치 ( npm -g install create-react-app 명령어 사용 ) lottery-react-web 이라는 이름의 react app 생성 ( create-react-app lottery-react-web 명령어 사용 ) lottery-react-web 이 생성된것 확인 lottery-react-web으로 이동하여 yarn start 리액트 기본페이지 출력됨 ——————————————————————————————-//ya.. 2021. 3. 5. 이전 1 다음