1.0.15 • Published 2 years ago
@vaishali-ezee/yc-login v1.0.15
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 ).