npm.io
0.6.83 • Published 3 years ago

my-account-components

Licence
Version
0.6.83
Deps
22
Size
16.9 MB
Vulns
1
Weekly
0

My Account Components Library

Official design system for My Account

Install

VERSION=v0.6.64
npm install my-account-components

Using components

Import the library

import * as MyAccountComponents from 'my-account-components'

For convenience, register all the components to make them available across all your app:

Object.keys(MyAccountComponents).forEach(name => {
  Vue.component(MyAccountComponents[name].name, MyAccountComponents[name]);
});

Use the component in any place:

<template>
  ...
  <eci-button primary cta>Texto de prueba</eci-button>
  ...
</template>