πŸš— A 3D product spinner for Vue.js with no dependencies (wip)
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Oct 17, 2018
dist new version Oct 22, 2018
docs updated gif Oct 18, 2018
public fuck i need a break Oct 22, 2018
src Add spin on scroll Oct 27, 2018
tests/unit new version Oct 22, 2018
.browserslistrc init Oct 16, 2018
.eslintrc.js init Oct 16, 2018
.gitignore
.postcssrc.js init Oct 16, 2018
.travis.yml updated travis Oct 17, 2018
LICENSE.md added license Oct 16, 2018
README.md Update README.md Nov 13, 2018
babel.config.js init Oct 16, 2018
build-demo.sh
jest.config.js
package.json new version Oct 22, 2018
vue.config.js updated preloadImages call method Oct 18, 2018

README.md


Vue Product Spinner
Under development - we need your help!

A 3D product spinner with no dependencies built for Vue.js

Build Status MIT License Tweet

Demo

Live demo here

Vue Product Spinner

Installation

npm

npm i vue-product-spinner

yarn

yarn add vue-product-spinner

UMD build

<script src="https://cdn.jsdelivr.net/npm/vue-product-spinner@0.0.9-dev/dist/vue-product-spinner.umd.js" type="text/javascript"></script>

Usage

<template>
  <VueProductSpinner 
    :imgs="imgs" 
    :range="range"
  />
</template>

<script>
  import VueProductSpinner from 'vue-product-spinner'

  export default {
    data() {
      return {
        imgs: [
          'img1.jpg',
          'img2.jpg',
          'img3.jpg'
        ],
        range: {
          enable: true,
          class:  'custom-range'
        }
      }
    },

    components: {
      VueProductSpinner
    }
  }
</script>

Running the tests

We are still writing our tests. Once they will be ready, simply run them by typing:

$ yarn test

Built With

  • Vue Cli - Project Bootstrap
  • Pug - Template Engine
  • Scss - CSS Preprocessor

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Michele Riva

See also the list of contributors who participated in this project.

Roadmap

  • Solve basic bugs
  • Add "mouse move" support
  • Add "mouse scroll" support
  • Add slider support
  • Add touchscreen support

Buy Me a Beer!

Beerpay

Please help me maintain my projects with a little and simple donation! I need beer to work! πŸ˜ƒ

License

This project is licensed under the MIT License - see the LICENSE.md file for details.