@piyush-ezee/yc-login

1.0.6 • Public • Published

yc-login

Installation YCLogin Components

npm install @yanolja-rnd/yc-login

Usage

import { YCLogin } from '@yanolja-rnd/yc-login'
import '@yanolja-rnd/yc-login/dist/@yanolja-rnd/yc-login.css'
  
components: {
  YCLogin,
}

// Set environment variable
const ycEnv = 'development' // like development, qa, production, stage and local
 
// Set language variable
const ycLang = 'en' // like en and kr
 
/* If you are using i18n plugins (vue-i18n, nuxt-i18n, etc.. ) 
then just pass this.i18n.locale in ycLang instead of static value. */
 
// For Signage
<YC-login type="signage" :env="ycEnv" :language="ycLang"  />
 
// For CM
<YC-login type="cm" :env="ycEnv" :language="ycLang" />
 
// For PMS
<YC-login type="pms" :env="ycEnv" :language="ycLang" />

Properties

type and env props are required.

language prop is not required. The default language is Korean ( kr ).

Readme

Keywords

Package Sidebar

Install

npm i @piyush-ezee/yc-login

Weekly Downloads

1

Version

1.0.6

License

none

Unpacked Size

425 kB

Total Files

4

Last publish

Collaborators

  • piyush-ezee