2.2.9 • Published 2 years ago

stylefittechnology-vue v2.2.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

2.2.8

2 years ago

2.2.7

2 years ago

2.2.6

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago