vue-strap-spc
vue-strap-spc
Bootstrap components built with Vue.js. Branched from vue-strap(https://yuche.github.io/vue-strap/)
This repository contains a set of native Vue.js components based on Bootstrap's markup and CSS. As a result no dependency on jQuery or Bootstrap's JavaScript is required. The only required dependencies are:
- Vue.js (required ^v2.x.x, test with v2.0.3).
- Bootstrap CSS (required 3.x.x, test with 3.3.6). VueStrap doesn't depend on a very precise version of Bootstrap.
Installation
NPM
$ npm install vue-strap-spc
CommonJS
var alert = require('vue-strap/src/alert');
// or
var alert = require('vue-strap').alert;
new Vue({
components: {
'alert': alert
}
})
ES6
import alert from 'vue-strap/src/alert'
// or
import { alert } from 'vue-strap'
new Vue({
components: {
alert
}
})
AMD
$ bower install vue-strap
define(['vue-strap'], function(VueStrap) { var alert = VueStrap.alert; ... });
Browser globals
The dist folder contains vue-strap.js and vue-strap.min.js with all components exported in the window.VueStrap object. These bundles are also available in CDNJS,
and on both the Bower and NPM packages.
<script src="path/to/vue.js"></script>
<script src="path/to/vue-strap.js"></script>
<script>
var vm = new Vue({
components: {
alert: VueStrap.alert
},
el: "#app",
data: {
showRight: false,
showTop: false
}
})
</script>
Docs
See the documentation with live editable examples.
Local Setup
- Install with
npm install - Run the docs site in development mode with
npm run docs. This will watch for file changes as you work. - Build with
npm run build.
License
vue-strap is licensed under The MIT License.
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 2.0.70 | ^2.6.14 | MIT | |
| 2.0.68 | ^2.6.14 | MIT | |
| 2.0.67 | ^2.6.14 | MIT | |
| 2.0.66 | ^2.6.14 | MIT | |
| 2.0.64 | ^2.6.14 | MIT | |
| 2.0.63 | ^2.6.14 | MIT | |
| 2.0.62 | ^2.6.14 | MIT | |
| 2.0.60 | ^2.6.14 | MIT | |
| 2.0.59 | ^2.6.14 | MIT | |
| 2.0.58 | ^2.6.14 | MIT | |
| 2.0.57 | ^2.6.14 | MIT | |
| 2.0.56 | ^2.6.14 | MIT | |
| 2.0.55 | ^2.6.14 | MIT | |
| 2.0.54 | ^2.6.14 | MIT | |
| 2.0.53 | ^2.6.14 | MIT | |
| 2.0.52 | ^2.6.14 | MIT | |
| 2.0.50 | ^2.1.0 | MIT | |
| 2.0.49 | ^2.1.0 | MIT | |
| 2.0.48 | ^2.1.0 | MIT | |
| 2.0.47 | ^2.1.0 | MIT | |
| 2.0.46 | ^2.1.0 | MIT | |
| 2.0.45 | ^2.1.0 | MIT | |
| 2.0.44 | ^2.1.0 | MIT | |
| 2.0.43 | ^2.1.0 | MIT | |
| 2.0.42 | ^2.1.0 | MIT | |
| 2.0.41 | ^2.1.0 | MIT | |
| 2.0.40 | ^2.1.0 | MIT | |
| 2.0.39 | ^2.1.0 | MIT | |
| 2.0.38 | ^2.1.0 | MIT | |
| 2.0.37 | ^2.1.0 | MIT |
Showing the latest 30 of 63. See every release on npm