stylevue-library

1.0.2 • Public • Published

StyleVue library is a React component library for integrating StyleVue sizing in a Ecommerce website built on React.Just add the component into your product page, provide the required details as mentioned below and you will see a StyleVue Button and Slidein page on clicking the button.

Installation

You can install stylevue-library via npm:

npm install stylevue-library

Usage

Get the companyId and categoryId enrolled from us and use the StyleVue component in any React component as follows.

import StyleVue from 'stylevue-library/components/StyleVue';

function MyComponent() {
    const pInfo={
        companyId:"companyId",   
        categoryId:"categoryId",
        tags:[]
    }
    return (
        <div>
        // whereever you want your button to be visible.
        // Limit the size of button by wrapping in a div
        <StyleVue productInfo={pInfo}/>
        </div>
    );
    }

Contact

Visit https://stylevue.ai/ for more info

Readme

Keywords

none

Package Sidebar

Install

npm i stylevue-library

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

1.78 MB

Total Files

24

Last publish

Collaborators

  • style-vue