Skip to content

gds-goormthon 0.0.7

Install from the command line:
Learn more about npm packages
$ npm install @goorm-dev/gds-goormthon@0.0.7
Install via package.json:
"@goorm-dev/gds-goormthon": "0.0.7"

About this version

gds-goormthon


Manual

npmrc 세팅

  1. github personal access tokens 진입
  2. read package 권한 획득한 토큰 생성
  3. npmrc 편집
# vim으로 npmrc 열기
vim ~/.npmrc

#`:` 명령행 모드 켜기
#`i` insert 모드로 전환
@goorm-dev:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=[권한 획득한 github 토큰]

패키지 설치

  1. CRA
npx create-react-app goormthon-test
npm install reactstrap @goorm-dev/gds-goormthon
  1. 프레임워크 또는 자체 세팅이 완료된 경우
npm install reactstrap @goorm-dev/gds-goormthon

Use

  1. Goormstrap 불러오기 (with CDN URL)
<head>
  <link
    rel="stylesheet"
    href="https://statics.goorm.io/css/goormstrap.v4.min.css"
  />
</head>
  1. Components import
import { Alert, UncontrolledAlert } from "@goorm-dev/gds-goormthon";
  1. Icons import
import { ActivityIcon, CheckCircleIcon } from "@goorm-dev/gds-goormthon";

//...

<ActivityIcon width="1rem" className="ActivityIcon__icon" />; // svg와 동일
  1. Color Token
.element {
  background-color: var(--red-100);
  color: var(--gray-500);
}

About

Details


Assets

  • gds-goormthon-0.0.7.tgz

Download activity

  • Total downloads 38
  • Last 30 days 0
  • Last week 0
  • Today 0