Skip to content

Commit

Permalink
Missing bundle, fix export
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsobries committed Oct 11, 2019
1 parent 1bfa815 commit adb3b6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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-tailwind",
"version": "0.4.0",
"version": "0.4.1",
"description": "Vue components styled with TailwindCss with configurable classes",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ function extendComponent (Vue, CurrentTheme, componentName) {
})
}

const VueTailwind = {
export default {
install (Vue, args = {}) {
if (this.installed) {
return
}

Vue.component('t-input', TInput)

this.installed = true

const CurrentTheme = {
Expand All @@ -82,5 +84,3 @@ const VueTailwind = {
})
}
}

export default VueTailwind

0 comments on commit adb3b6a

Please sign in to comment.