Skip to content

IreneChoii/React-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

React 환경세팅 for M2



1. NVM(Node Version Manager) 설치

⭐️참고 링크⭐️ [ https://github.com/nvm-sh/nvm ]

How to install?

Step One

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash



Step Two

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

Example

$ nvm install 16
$ nvm use 16
$ node -v

확인

nvm --version



2. Node.js 설치

How to install?

⭐️다운로드 링크⭐️ [ https://nodejs.org/en/ ]



3. yarn 설치

How to install?

brew update
brew install yarn
yarn config set prefix ~/.yarn

확인

yarn --version



4. 리액트 프로젝트 생성

image image

About

2024 웹프레임워크 React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published