Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bootstrap components built with Vue.js

License

NotificationsYou must be signed in to change notification settings

thinkTank15/vue-strap

 
 

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.

Installation

NPM

$ npm install vue-strap

CommonJS

varalert=require('vue-strap/src/alert');// orvaralert=require('vue-strap').alert;newVue({components:{'alert':alert}})

ES6

importalertfrom'vue-strap/src/alert'// orimport{alert}from'vue-strap'newVue({components:{    alert}})

AMD

$bowerinstallvue-strapdefine(['vue-strap'],function(VueStrap){varalert=VueStrap.alert; ...});

Browser globals

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>

Docs

See thedocumentation with live editable examples.

Local Setup

  • Install withnpm install
  • Run the docs site in development mode withnpm run docs. This will watch for file changes as you work.
  • Build withnpm run build.

TODO

SeeRoadmap

License

vue-strap is licensed underThe MIT License.

About

Bootstrap components built with Vue.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript88.0%
  • Vue11.5%
  • Other0.5%

[8]ページ先頭

©2009-2025 Movatter.jp