Skip to content

Commit 738c0be

Browse files
author
Pooya Parsa
committed
Merge branch 'alpha' of github.com:bootstrap-vue/bootstrap-vue into alpha
2 parents 14e2ff9 + f4ffcff commit 738c0be

File tree

4 files changed

+13
-66
lines changed

4 files changed

+13
-66
lines changed

README.md

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -31,64 +31,7 @@
3131

3232
> [Bootstrap 4](https://v4-alpha.getbootstrap.com/) components for [Vue.js 2](https://vuejs.org/)
3333
34-
### ✨ We are heavily working for stable `1.0.0` release and Bootstrap v4-beta support. For earlier access please refer to [1.x](https://github.com/bootstrap-vue/bootstrap-vue/tree/1.x) branch and [Beta Docs](https://bootstrap-vue.now.sh)
35-
36-
# Links
37-
38-
- 📘 [Documentation](https://bootstrap-vue.js.org)
39-
- 🔥 [Documentation (Beta)](https://bootstrap-vue.now.sh)
40-
- 🔨 [Release Notes](https://bootstrap-vue.js.org/docs/changelog)
41-
- 💬 [Slack Community](https://bootstrap-vue.slack.com)
42-
43-
# Quick Start
44-
Please refer to [Official Documentation](https://bootstrap-vue.github.io) for setup guide, examples and documentation.
45-
46-
1. Download dependencies:
47-
```bash
48-
yarn add bootstrap-vue
49-
yarn add bootstrap@4.0.0-alpha.6
50-
yarn add -D style-loader
51-
```
52-
53-
2. Register BootstrapVue in your app entrypoint:
54-
```js
55-
import Vue from 'vue'
56-
import BootstrapVue from 'bootstrap-vue'
57-
58-
Vue.use(BootstrapVue)
59-
```
60-
61-
3. Import styles using style-loader:
62-
```js
63-
import 'bootstrap/dist/css/bootstrap.css'
64-
import 'bootstrap-vue/dist/bootstrap-vue.css'
65-
```
66-
67-
##### For users of Webpack or Webpack-Simple from `vue-cli` follow these instructions:
68-
1. Download the dependencies:
69-
```bash
70-
yarn add bootstrap-vue
71-
yarn add bootstrap@4.0.0-alpha.6
72-
yarn add -D style-loader
73-
```
74-
75-
2. In `src/main.js`, add the following lines, in priority order:
76-
```js
77-
import Vue from 'vue'
78-
/* ( there may be other imports here ) */
79-
import BootstrapVue from 'bootstrap-vue/dist/bootstrap-vue.esm'
80-
import 'bootstrap-vue/dist/bootstrap-vue.css'
81-
import 'bootstrap/dist/css/bootstrap.css'
82-
/* ( there may be other imports here ) */
83-
84-
Vue.use(BootstrapVue)
85-
```
86-
87-
#### Note on style-loader:
88-
If you are unable or do not want to add style-loader as a developer dependency, you have to
89-
manually include both [Bootstrap's](https://v4-alpha.getbootstrap.com/getting-started/download/)
90-
and [BootstrapVue's](https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css) CSS files
91-
in your bundle or reference them from `static/` via `index.html`.
34+
This branch is for legacy 4.0.0-alpha.6 release of Bootstrap. [Alpha docs](https://bootstrap-vue-alpha.surge.sh)
9235

9336
# License
9437
MIT

docs/nuxt/layouts/docs.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<div class="row">
77
<div class="col-12 col-md-9">
88
<div class="float-right">
9-
<a href="https://github.com/bootstrap-vue/bootstrap-vue/releases" target="_blank">
10-
<img src="https://img.shields.io/github/release/bootstrap-vue/bootstrap-vue.svg?style=flat-square" alt="GitHub release">
9+
<a href="https://github.com/bootstrap-vue/bootstrap-vue/tags" target="_blank">
10+
<img src="https://img.shields.io/github/tag/bootstrap-vue/bootstrap-vue.svg?style=flat-square" alt="GitHub release">
1111
</a>
1212
</div>
1313

lib/components/alert.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@
9999
}
100100
101101
let dismissCountDown = this.show;
102-
this.$emit('dismiss-count-down', dismissCountDown);
103-
102+
104103
// Start counter
105104
this.clearCounter();
106105
this.countDownTimerId = setInterval(() => {

lib/components/tab.vue

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<transition @before-enter="beforeEnter" @after-enter="afterEnter" @after-leave="afterLeave" mode="out-in">
2+
<transition @before-enter="beforeEnter"
3+
@after-enter="afterEnter"
4+
@after-leave="afterLeave"
5+
mode="out-in">
36
<component :is="tag"
47
:id="id || null"
58
role="tabpanel"
@@ -9,8 +12,7 @@
912
:aria-lablelledby="controlledBy || null"
1013
v-if="localActive || !lazy"
1114
v-show="localActive"
12-
ref="panel"
13-
:css="false">
15+
ref="panel">
1416
<slot></slot>
1517
</component>
1618
</transition>
@@ -32,11 +34,14 @@
3234
data() {
3335
return {
3436
fade: false,
35-
localActive: this.active,
37+
localActive: this.active && !this.disabled,
3638
lazy: true,
3739
show: false
3840
};
3941
},
42+
mounted() {
43+
this.show = this.localActive;
44+
},
4045
computed: {
4146
controlledBy() {
4247
return this.buttonId || (this.id ? (this.id + '__BV_tab_button__') : null);

0 commit comments

Comments
 (0)