2.2.9 • Published 8 months ago

stylefittechnology-vue v2.2.9

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Stylefit Vue

A Vue 2 compatible component library that offers a customizable 3D viewer for your application. It's easy to implement and provides a smooth user experience.

Installation

To install this package, use npm:

npm install stylefittechnology-vue

Usage

Firstly, you need to import and register the component:

<script>
import StylefitViewer from 'stylefit-vue';

export default {
  components: {
    StylefitViewer, // Register StylefitViewer as a component
  },
  props: {
    accountId: { type: String, default: "" },
    sku: { type: String, default: "" },
    model: { type: Number, default: 0 },
  },
  // rest of your script
};
</script>

You can then use the component in your Vue templates:

<template>
  <div >
    <StylefitViewer 
      :accountId="yourAccountId"
      :sku="yourSku"
      :model="yourModel" />
  </div>
</template>

Props

The StylefitViewer component currently supports three props:

  • accountId: Required. A string that specifies the account id.
  • sku: Required. A string that specifies the SKU.
  • model: Optional. A number that specifies the model index. Default is 0.
2.2.9

8 months ago

2.2.8

8 months ago

2.2.7

9 months ago

2.2.6

9 months ago

2.2.5

9 months ago

2.2.4

9 months ago

2.2.3

9 months ago

2.2.2

9 months ago

2.2.1

9 months ago

2.2.0

10 months ago

2.1.0

10 months ago