GithubHelp home page GithubHelp logo

vue-nuggets's Introduction

Vue based UI Nuggets for e-commerce sites

I am creating a library of UI components targeted towards e-commerce sites..

I was doing a comparative study of various e-commerce sites; large and small and I realized that a lot of things are common to these sites. These things are something that can be componentized and used across sites.

These comonents are currently being built using Vue. I might consider building the same components using React as well. At some point I might even consider creating Web Components for this.

I will try and keep the test coverage for all of these components at a 100% at all times. Currently it is 0.

List of components

1. Quantity Selector (Partially Implemented)

Usage

<QuantitySelector />

Properties

Property Name Default Value Required Type
count 1 No Number
maxCount 6 No Number
iconDimensions 15 No Number
minusIconFillColor #000 No String
plusIconFillColor #000 No String

2. Star Rating (Partially Implemented)

Usage

<StarRating :rating="3.5" />

Properties

Property Name Default Value Required Type
totalStars 5 No Number
rating NA Yes Number
fillColor #C00 No String
baseColor #666 No String

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

vue-nuggets's People

Contributors

shreerang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.