Permalink
Browse files

Update getting started for individual component import

  • Loading branch information...
tmorehouse authored and pi0 committed Oct 28, 2017
1 parent 35a6864 commit 6cfcd545ccd362e8cc3a042be5e9f953d5f6a807
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/markdown/intro/README.md
@@ -82,8 +82,8 @@ this by directly importing those components.
To cherry pick a component/directive, start by importing it in the file where it is being used:

```js
import { bModal } from 'bootstrap-vue/lib/components'
import { bModal as bModalDirective } from 'bootstrap-vue/lib/directives'
import { bModal } from 'bootstrap-vue/src/components/modal/modal.vue'
import { bModal as bModalDirective } from 'bootstrap-vue/src/directives/modal/modal.js'
```

Then add it to your component definition:

0 comments on commit 6cfcd54

Please sign in to comment.