consent-manager
Drop-in consent management plugin for analytics.js
파일 탐색기
최종 버전 다운로드 (.zip)- nodeJS.yml
- addons.js
- config.js
- preview-head.html
- webpack.config.js
- analytics.test.ts
- fetch-destinations.test.ts
- index.todo.js
- preferences.test.ts
- index.test.ts
- banner.tsx
- buttons.tsx
- cancel-dialog.tsx
- categories.ts
- container.tsx
- dialog.tsx
- font-styles.tsx
- index.tsx
- preference-dialog.tsx
- analytics.ts
- fetch-destinations.ts
- index.tsx
- preferences.ts
- index.ts
- standalone.tsx
- styled.d.ts
- types.ts
- common-react.tsx
- CookieView.tsx
- destination-tile.tsx
- 0-consent-manager.stories.tsx
- 0.1-consent-manager-close-interaction.stories.tsx
- 0.2-consent-manager-custom-cookie-name.stories.tsx
- 0.3-consent-manager-custom-cookie-attributes.stories.tsx
- 1-standalone.stories.tsx
- 1.1-standalone-custom.stories.tsx
- 2-category-based.stories.tsx
- 3-tool-based.stories.tsx
- 4-custom-consent.stories.tsx
- 5-custom-categories.stories.tsx
- 6-ccpa-gdpr-example.stories.tsx
- 7-default-destination-behavior.stories.tsx
- 8-consent-manager-actions-block.stories.tsx
- 9-consent-manager-as-modal.stories.tsx
- ImplyConsentOnInteraction.tsx
- standalone-custom.html
- standalone.html
- setupTests.ts
- .editorconfig
- .eslintrc
- .gitattributes
- .gitignore
- .nvmrc
- CHANGELOG.md
- GUIDESTYLES.md
- LICENSE
- package.json
- README.md
- tsconfig.json
- webpack.config.js
- yarn.lock
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/segmentio/consent-manager
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd consent-manager
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm install @segment/consent-manager
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
yarn add @segment/consent-manager
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ yarn dev
개발/실행 서버를 켭니다.
$ npm version <new-version>
이 명령어를 터미널에 그대로 입력해 실행하세요.
$ npm publish
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
