|
31 | 31 |
|
32 | 32 | > [Bootstrap 4](https://v4-alpha.getbootstrap.com/) components for [Vue.js 2](https://vuejs.org/)
|
33 | 33 |
|
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) |
92 | 35 |
|
93 | 36 | # License
|
94 | 37 | MIT
|
0 commit comments