Giter Site home page Giter Site logo

coreui / bootstrap-vue Goto Github PK

View Code? Open in Web Editor NEW
52.0 2.0 3.0 2.81 MB

Bootstrap 5 components for Vue 3

Home Page: https://coreui.io/bootstrap-vue/

License: MIT License

JavaScript 0.64% TypeScript 77.61% Vue 6.62% SCSS 15.13%
bootstrap bootstrap5 bootstrap-5 vue vue-3 vue3 bootstrapvue

bootstrap-vue's Introduction

Bootstrap Vue Logo

Vue.js Components Library built on top of Bootstrap 5 and TypeScript.
Explore Bootstrap Vue docs »

Report bug · Request feature · Blog

Table of contents

Quick start

Instalation

Several quick start options are available:

  • Download the latest release
  • Clone the repo: git clone https://github.com/coreui/bootstrap-vue.git
  • Install with npm: npm install @coreui/bootstrap-vue
  • Install with yarn: yarn add @coreui/bootstrap-vue

Read the Getting started page for information on the framework contents, templates and examples, and more.

Stylesheets

Vue components are styled using bootstrap CSS library.

Installation

yarn add bootstrap

or

npm install bootstrap

Basic usage

import "bootstrap/dist/css/bootstrap.min.css";

Status

Build Status npm version peerDependencies Status devDependency Status Coverage Status

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Documentation

The documentation for the Bootstrap Vue is hosted at our website Bootstrap Vue

Running documentation locally

  1. Run yarn install or npm install to install the Node.js dependencies.
  2. Run yarn bootstrap or npm run bootstrap to link local packages together and install remaining package dependencies.
  3. From the root directory, run yarn docs:dev or npm run docs:dev (or a specific npm script) to rebuild distributed CSS and JavaScript files, as well as our docs assets.
  4. Open http://localhost:8000/ in your browser, and voilà.

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at https://editorconfig.org/.

Community

Stay up to date on the development of Bootstrap Vue and reach out to the community with these helpful resources.

You can also follow @core_ui on Twitter.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap Vue is maintained under the Semantic Versioning guidelines.

See the Releases section of our project for changelogs for each release version.

Creators

Łukasz Holeczek

Andrzej Kopański

The CoreUI Team

Copyright and license

Copyright 2021 creativeLabs Łukasz Holeczek. Code released under the MIT License. Docs released under Creative Commons.

bootstrap-vue's People

Contributors

mrholek avatar rakieta2015 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bootstrap-vue's Issues

Add `v-on` support to CForm

For example, this works:
<form @submit.prevent="onSubmit">

But this does not:
<CForm @submit.prevent="onSubmit">

QUESTION: How do I v-model to a group of radio buttons?

I'm using the CFormCheck component to allow the user to select an option, but I can't figure out how to get the value of the selected button back to my state variable. Should I be setting the model-value attribute? If so, how does that work? Every time I try to set it, the attribute takes on the value true no matter what value I pass in. Is there an example on the documentation site? Thank you.

Example:

<CFormCheck
  id="inlineCheckbox1"
  v-model="cloudSave"
  inline
  type="radio"
  name="inlineRadioOptions"
  label="Local"
  model-value="cloudSave"
/>

Support Vue router props in CDropdownItem / Link

Currently CDDropdownItem only supports href prop. It would be nice if the Vue Router object props were also supported.

New Props:

CDDropdownItem currently extends CLink so it would be nice to implement this logic in CLink so it could be shared by all linkable components.

I can create a PR for this if you are ok with the feature.

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.