Skip to content

Commit

Permalink
fixed dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
niklashaug committed Mar 28, 2021
1 parent 66eed73 commit 8968639
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-carbonbadge",
"version": "1.0.1-beta.1",
"version": "1.0.1-beta.2",
"description": "Vue component for the Website Carbon Badge",
"author": "Niklas Haug",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion src/components/CarbonBadge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export default {
}
},
async mounted () {
await import('website-carbon-badges/b.min')
const websitecarbon = await import(/* webpackMode: "eager" */ 'website-carbon-badges/b.min')
console.log(websitecarbon)
}
}
</script>

0 comments on commit 8968639

Please sign in to comment.