• Home
  • About
    • lahuman photo

      lahuman

      열심히 사는 아저씨

    • Learn More
    • Facebook
    • LinkedIn
    • Github
  • Posts
    • All Posts
    • All Tags
  • Projects

Reactjs] Create-react-app 시작하기

02 May 2019

Reading time ~1 minute

Reactjs] Create-react-app 시작하기

reactjs 시작은 다음과 같다.

$> npx create-react-app my-app
$> cd my-app
$> npm start

위와 같이 명령어를 실행하여 기본 react 구조와 모듈이 포함된 프로젝트를 생성한다. 생성된 프로젝트의 구조는 다음과 같다.

my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
└── src
    ├── App.css
    ├── App.js
    ├── App.test.js
    ├── index.css
    ├── index.js
    ├── logo.svg
    └── serviceWorker.js

이후 프로젝트에 router, design 관련 모듈들을 추가 해서 반영하면된다.

참고자료

  • Getting Started


reactjsfrontend Share Tweet +1