vuestrap-base-components

Web components that extend Bootstrap 4.
4,797 250
Install
npm install vuestrap-base-components
Latest Version:0.8.10
Vue:1
License:MIT
Last Updated:Mar 29, 2017
Links: GitHub  ·  npm
Maintainer: kzima

Vuestrap Base Components

Vuestrap Base Components extend Bootstrap 4. Built with vuestrap, plain Vue.js and Webpack.

DEMO

Documentation

QUICK USE

For compiled components, use it like this:

Bower

bower install vuestrap-base --save-dev
<link href="bower_components/vuestrap-base/dist/vuestrapBase.min.css" rel='stylesheet' type='text/css'>
<script src="bower_components/vuestrap-base/dist/vuestrapBase.min.js"></script>

NPM

npm install vuestrap-base-components --save-dev
import vuestrapBase from vuestrap-base-components

And then in your Vue instance:

new Vue({
	el: '#app',
	components: { 'vs-alert': vuestrapBase.alert }
})

-- OR --

If you chosen to work with source components, just import* desired components like so:

import { vsAlert, vsButton } from 'vuestrap-alert/src/components'

and then load it in your Vue instance:

new Vue({
	el: '#app',
	components: { vsAlert, vsButton }
})

*Note: You will need Babel Loader in your Webpack config file to support ES6 syntax.

You can then use icon component in your html, like so:

<vs-alert>Hello</vs-alert>

THEMING

To be able to use your app theme with component's scss variables, you will need to use vuestrap-theme-loader in your webpack config file.

npm install vuestrap-theme-loader --save-dev

See vuestrap-starter for a webpack config example with theme loader.

TODO

  • document events
  • testing

Related Packages

gritcode-components

Web components built with Vuestrap.

2,223 203
form-wallet-web

form-wallet-web

1,976
web
click-confirm

Prompt user to confirm button click event before allowing the event to proceed.

6,551 25
yx-web-sdk

A Vue 3 component library for GitCode

4,094
es-vue

support vue for EaseScript

2,048 0

Version History

Version Released Vue License
0.8.10 ^1.0.16 MIT
0.8.9 ^1.0.16 MIT
0.8.8 ^1.0.16 MIT
0.8.6 ^1.0.16 MIT
0.8.5 ^1.0.16 MIT