crip-vue-select
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

crip-vue-select

A Vue.js project to add customization around select input. Take a look to demo page

Usage

Install

> npm i -S crip-vue-select

Setup

import Vue from "vue'"
import CripSelect from "crip-vue-select"

// Install component in to Vue instance.
Vue.use(CripSelect)

Display select in a form

<script>
export default {
  data() {
    return {
      options: [{ text: "one", value: 1 }, { text: "two", value: 2 }],
      selectedValue: "default",
    }
  }
}
</script>

<template>
  <div class="container">

    <div class="row">
      <form class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2">
        <div class="form-group">
          <crip-select :options="options" v-model="selectedValue" />
        </div>
      </form>
    </div>

  </div>
</template>

Build Setup

# install dependencies and serve with hot reload at localhost:8080
> npm i && npm run dev

Release steps

./release.bat %VERSION

Package Sidebar

Install

npm i crip-vue-select

Weekly Downloads

3

Version

0.0.6

License

MIT

Last publish

Collaborators

  • tahq69