-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pooya Parsa
committed
Aug 11, 2017
1 parent
dc8d238
commit 8e46552
Showing
20 changed files
with
351 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,64 +29,17 @@ | |
|
||
</p> | ||
|
||
> [Bootstrap 4](https://v4-alpha.getbootstrap.com/) components for [Vue.js 2](https://vuejs.org/) | ||
> [Bootstrap 4](https://getbootstrap.com/docs/4.0) components for [Vue.js](https://vuejs.org) | ||
# Links | ||
|
||
- 📘 [Documentation](https://bootstrap-vue.js.org) | ||
- ▶ [Playground](https://bootstrap-vue.js.org/play) | ||
- 🔥 [Release Notes](https://github.com/bootstrap-vue/bootstrap-vue/releases) | ||
- 🔨 [Change Log](https://bootstrap-vue.js.org/docs/changelog) | ||
- 💬 [Slack Community](https://bootstrap-vue.now.sh) | ||
|
||
# Quick Start | ||
Please refer to [Official Documentation](https://bootstrap-vue.github.io) for setup guide, examples and documentation. | ||
|
||
1. Download dependencies: | ||
```bash | ||
yarn add bootstrap-vue | ||
yarn add [email protected] | ||
yarn add -D style-loader | ||
``` | ||
|
||
2. Register BootstrapVue in your app entrypoint: | ||
```js | ||
import Vue from 'vue' | ||
import BootstrapVue from 'bootstrap-vue' | ||
|
||
Vue.use(BootstrapVue) | ||
``` | ||
|
||
3. Import styles using style-loader: | ||
```js | ||
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: | ||
```bash | ||
yarn add bootstrap-vue | ||
yarn add [email protected] | ||
yarn add -D style-loader | ||
``` | ||
|
||
2. In `src/main.js`, add the following lines, in priority order: | ||
```js | ||
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](https://v4-alpha.getbootstrap.com/getting-started/download/) | ||
and [BootstrapVue's](https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.css) CSS files | ||
in your bundle or reference them from `static/` via `index.html`. | ||
Please refer to [Official Documentation](https://bootstrap-vue.js.org) for setup guide, examples and documentation. | ||
|
||
# License | ||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.