Bootstrap 3 components implemented by Vue 2. (SSR Supported)
- Vue 2 (tested on ^2.2.6)
- Bootstrap 3 CSS (tested on ^3.3.7)
Components and directives are tested with the following browsers:
- Chrome
- Firefox
- Safari
- Edge
- IE 9 / 10 / 11
uiv is using UMD exporter, which means you can use it in both ES6 / CommonJS / AMD / Browser.
$ npm install uiv
// Import and register all components once
import * as uiv from 'uiv'
Vue.use(uiv)
// Or import respectively
import { Dropdown } from 'uiv'
new Vue({
components: {
Dropdown
}
})
<tabs>
<tab>...</tab>
<tab>...</tab>
</tabs>
<script src="path/to/vue.min.js"></script>
<script src="path/to/uiv.min.js"></script>
<!-- No need to install uiv, we already do this for you after script loaded. -->
<script>
new Vue({
components: {
Tabs: uiv.Tabs, Tab: uiv.Tab
}
})
</script>
Welcome and thanks to use and contribute to this project. Your support is very important.
If you found any problem / bug during the use of uiv, or have any suggustion that can make this lib better, please create an issue.
Pull requests are also welcome! However, before you started working on a PR, it is highly recommend to create an issue with your idea first, so people can know what's going to happen and avoid duplicated work.
# install dependencies
npm install
# serve demos & docs with hot reload at localhost:8080
npm run dev
# build uiv lib
npm run build
# build document
npm run build-docs
# run all tests
npm test
MIT