Skip to content

Commit adb3b6a

Browse files
committed
Missing bundle, fix export
1 parent 1bfa815 commit adb3b6a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-tailwind",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Vue components styled with TailwindCss with configurable classes",
55
"repository": {
66
"type": "git",

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ function extendComponent (Vue, CurrentTheme, componentName) {
6262
})
6363
}
6464

65-
const VueTailwind = {
65+
export default {
6666
install (Vue, args = {}) {
6767
if (this.installed) {
6868
return
6969
}
7070

71+
Vue.component('t-input', TInput)
72+
7173
this.installed = true
7274

7375
const CurrentTheme = {
@@ -82,5 +84,3 @@ const VueTailwind = {
8284
})
8385
}
8486
}
85-
86-
export default VueTailwind

0 commit comments

Comments
 (0)