728x90
반응형
두 번째 과제, 소셜 로그인 구현
일단 환경세팅을 합시다.
맥북으로 진행하기에 Homebrew를 설치해줍니다.
한국어로 설정하고 바뀐 아래의 명령어를 터미널에 입력합니다.
이런식으로 Password를 입력해야 하는데 맥 패스워드 입력하시면 됩니다. 그럼 쭉 설치가 됩니다.
엔터 눌러주시면 됩니다.
이후 잘 설치가 되었다면
이렇게 버전 명령어 입력시 올바르게 나옵니다. 만약 찾을 수 없다고 나오시면,
$ brew --version
zsh: command not found: brew
# zshrc에 homebrew path 추가
$ echo 'export PATH=/opt/homebrew/bin:$PATH' >> ~/.zshrc
# zshrc 반영
$ source ~/.zshrc
명령어를 통해 path 추가해주시면 됩니다. (참고. 꿈꾸는 하늘고래)
node도 설치해 주시고, 잘 설치 되었나 버전도 확인해줍시다.
npm install node
node -v
이제는 vite를 활용해서 프로젝트를 만들겁니다.
y를 눌러 진행합니다.
그럼 이제 프레임워크 선택이 나올텐데 저는 React를 사용하기 때문에 React로 설정하고
JavaScript보다 TypeScript가 진행함에 있어 오류가 적다는걸 알고있기에 선택해줍니다.의 약
SWC는 Speedy Web Compiler의 약자입니다. Rust로 제작되었고 말 그대로 컴파일 속도가 빠릅니다.
TypeScript + SWC 로 진행해줍니다.
그럼 끝! 이제 프로젝트를 진행합시다.
728x90
반응형
'Front-end > twitter_clone' 카테고리의 다른 글
[트위터 클론코딩 챌랜지] Firebase와 Loading page_06 (0) | 2024.04.02 |
---|---|
[트위터 클론코딩 챌랜지] Routes & Global style_05 (0) | 2024.03.31 |
[트위터 클론코딩 챌랜지] 종속성 설치 및 Router_04 (0) | 2024.03.31 |
[트위터 클론코딩 챌랜지] 폴더 정리 및 저장소 연결_03[MacOS환경] (0) | 2024.03.31 |
[트위터 클론코딩 챌랜지] 와이어프레임 제작_01 (0) | 2024.03.31 |