Skip to content

Legacy repo used to host MarkBind's vue components. Now integrated into the main MarkBind repository.

License

Notifications You must be signed in to change notification settings

ang-zeyu/vue-strap

 
 

Repository files navigation

vue-strap

This is a forked project from VueStrap, modified for use in MarkBind.

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 ^v2.x.x, test with v2.5.16).
  • Bootstrap CSS (required 4.x.x, test with 4.1.1). VueStrap doesn't depend on a very precise version of Bootstrap.

Installation

Browser globals

The dist folder contains vue-strap.js and vue-strap.min.js with all components exported in the window.VueStrap object.

<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.
  • Build with npm run build.

Lint the code for any code and style errors using ESLint

  • For Unix: npm run lint
  • For Windows: npm run lintwin

License

vue-strap is licensed under The MIT License.

About

Legacy repo used to host MarkBind's vue components. Now integrated into the main MarkBind repository.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 66.2%
  • JavaScript 33.8%