Skip to content

Commit

Permalink
chore: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
anish2690 committed Jan 9, 2021
1 parent debc807 commit 958ded2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>vue color</title>
<title>vue color kit</title>
<meta name="description" content="A demo of focus-trap-vue" />
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { App } from 'vue'
import ColorPicker from './color'
import ColorPicker from './color/index'
function install(Vue: App) {
Vue.component(ColorPicker.name, ColorPicker)
}

export default { install }

export { default as ColorPicker } from './color'
export { default as ColorPicker } from './color/index'

0 comments on commit 958ded2

Please sign in to comment.