Skip to content

Commit

Permalink
Update to vue.mdx (#2609)
Browse files Browse the repository at this point in the history
import CarbonComponentsVue from '@carbon/vue'; has wider acceptability (codesandbox.io/NuxtJS) than pointing to index under src folder

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
KalyanChakravarthyV and kodiakhq[bot] committed Nov 9, 2021
1 parent 5e8626f commit 8389a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/developing/frameworks/vue.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ carbon styles and components.

```js
import 'carbon-components/css/carbon-components.css';
import CarbonComponentsVue from '@carbon/vue/src/index';
import CarbonComponentsVue from '@carbon/vue';
Vue.use(CarbonComponentsVue);
```

Expand Down

1 comment on commit 8389a51

@vercel
Copy link

@vercel vercel bot commented on 8389a51 Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.