forked fromyuche/vue-strap
- Notifications
You must be signed in to change notification settings - Fork0
Bootstrap components built with Vue.js
License
NotificationsYou must be signed in to change notification settings
thinkTank15/vue-strap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Bootstrap components built with Vue.js.
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 ^v1.x.x, test with v1.0.8).
- Bootstrap CSS (required 3.x.x, test with 3.3.5). VueStrap doesn't depend on a very precise version of Bootstrap.
$ npm install vue-strap
varalert=require('vue-strap/src/alert');// orvaralert=require('vue-strap').alert;newVue({components:{'alert':alert}})
importalertfrom'vue-strap/src/alert'// orimport{alert}from'vue-strap'newVue({components:{ alert}})
$bowerinstallvue-strapdefine(['vue-strap'],function(VueStrap){varalert=VueStrap.alert; ...});
Thedist
folder containsvue-strap.js
andvue-strap.min.js
with all components exported in thewindow.VueStrap
object. These bundles are also available inCDNJS,and on both the Bower and NPM packages.
<scriptsrc="path/to/vue.js"></script><scriptsrc="path/to/vue-strap.js"></script><script>varvm=newVue({components:{alert:VueStrap.alert},el:"#app",data:{showRight:false,showTop:false}})</script>
See thedocumentation with live editable examples.
- 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
.
SeeRoadmap
vue-strap is licensed underThe MIT License.
About
Bootstrap components built with Vue.js
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- JavaScript88.0%
- Vue11.5%
- Other0.5%