Git Product home page Git Product logo

bootstrap-vue's Introduction


Bootstrap 4 components for Vue.js 2

Release Notes

✔ Getting started

Please refer to Official Documentation for setup guide, examples and documentation.

  1. Download dependencies:
yarn add bootstrap-vue
yarn add [email protected]
yarn add -D style-loader
  1. Register BootstrapVue in your app entrypoint:
import Vue from 'vue'
import BootstrapVue from 'bootstrap-vue';

Vue.use(BootstrapVue);
  1. Import styles using style-loader:
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
For users of Webpack or Webpack-Simple from vue-cli follow these instructions:
  1. Download the dependencies:
yarn add bootstrap-vue
yarn add [email protected]
yarn add -D style-loader
  1. In src/main.js, add the following lines, in priority order:
import Vue from 'vue';
/* ( there may be other imports here ) */
import BootstrapVue from 'bootstrap-vue/dist/bootstrap-vue.esm';
import 'bootstrap-vue/dist/bootstrap-vue.css';
import 'bootstrap/dist/css/bootstrap.css';
/* ( there may be other imports here ) */

Vue.use(BootstrapVue);

Note on style-loader:

If you are unable or do not want to add style-loader as a developer dependency, you have to manually include both Bootstrap's and BootstrapVue's CSS files in your bundle or reference them from static/ via index.html.

License

MIT

bootstrap-vue's People

Contributors

tmorehouse avatar pi0 avatar gregpeden avatar mosinve avatar alexsasharegan avatar vizo avatar mathlet0x avatar bramver avatar charkins avatar patrickeriksen avatar yacinehmito avatar tithamane avatar nddery avatar daleseo avatar pimlie avatar cynecx avatar ramakrishnamundru avatar phinome avatar pterk avatar nikkiez avatar magnum5234 avatar kylemh avatar kazusa-qooq avatar dleesalestreamsoft avatar hydraheim avatar peterblazejewicz avatar rapulu avatar sadeghmahmoudpour avatar storyn26383 avatar thomasfowler avatar

Watchers

James Cloos avatar Carlos Castillo Pardo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.