1.1.3 • Published 3 years ago

boostrap-vue-wrapper v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Boostrap-Vue Wrapper

NPM version

Requirements:

  • Boostrap 5
  • Boostrap icons
  • Vue i18n (for custom validation messages)
  • Vue router (for <router-link>)
  • Vue 3

Install:

npm install boostrap-vue-wrapper

Examples:

Table:

<bs-table
  class="table-striped table-hover"
  :fields="fields"
  :items="items"
  :order-by="orderBy"
  :is-loading="isLoading"
  @orderChanged="onOrderChanged"
/>

...

<script>
  import { BsTable } from 'boostrap-vue-wrapper'
</script>

Custom validation message:

<bs-input
  id="emailInput"
  ref="emailInputRef"
  v-model="email"
  type="email"
  label="Email"
  required
/>

...

<script>
  errorFromServer() {
    this.$refs.emailInputRef.setCustomError('Email is already taken.')
  }
</script>
1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.1.0

3 years ago