Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

react-anlytics-provider demo

demo 목록

list
with-cra
with-nextjs

환경설정

각 demo example 폴더 내에서 환경설정을 합니다.

  1. 의존성 설치
npm install
  1. .env파일 추가
SKIP_PREFLIGHT_CHECK=true
REACT_APP_GA_TRACKING_ID=트래킹아이디를적으세요
REACT_APP_AMPLITUDE_API_KEY=158ed40974495db744ed5ed2c375c868

Amplitude API Key는 아래 페이지에서 얻으실 수있습니다. https://analytics.amplitude.com/rap image

실행방법

  1. root 폴더에서 라이브러리를 빌드합니다.
npm run build 또는 npm run serve
  1. /demo/{example-folder-name}에서 의존성을 설치합니다.
npm install
  1. /demo/{example-name}에서 개발 서버를 띄웁니다.
npm start` 또는 npm run dev