Skip to content

t-shiratori/cclg

Repository files navigation

Dev

Install

npm i

Run Dev

npm run dev
> cclg@1.0.2 dev
> vite


  VITE v4.2.1  ready in 143 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h to show help

Open Browser Console

スクリーンショット 2023-04-16 2 52 03

Package Useage

Install package

npm i -D cclg

Sample Code

import { cclg } from 'cclg'

cclg({ label: 'any label' })
cclg({ label: 'color', color: '#ff1493' })
cclg({ label: 'color bgColor', color: '#ffffff', bgColor: '#39c093' })
cclg({ label: 'color bgColor value', color: '#ffffff', bgColor: '#39c093', value: '123456789' })
cclg({ label: 'cStyle', cStyle: 'color: #ffffff; background: #ff8c00; padding: 4px 12px;' })
cclg({ label: 'type log', type: 'log' })
cclg({ label: 'type info', type: 'info' })
cclg({ label: 'type warn', type: 'warn' })
cclg({ label: 'type error', type: 'error' })

About

I made it to learn npm publish.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published