Skip to content

Commit

Permalink
feat: export ELAlert component
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Sep 27, 2020
1 parent 9387044 commit 6eaae09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/entry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// 用于构建时的入口
import ElAlert from '../packages/alert'
import ElContainer from '../packages/container'
import ElButton from '../packages/button'
import ElSwitch from '../packages/switch'
Expand All @@ -10,6 +11,7 @@ import ElBreadcrumbItem from '../packages/breadcrumb-item'
import { version } from '../package.json'

const components = [
ElAlert,
ElContainer,
ElButton,
ElSwitch,
Expand All @@ -32,6 +34,7 @@ const elementUI = {
}

export {
ElAlert,
ElContainer,
ElButton,
ElSwitch,
Expand Down

0 comments on commit 6eaae09

Please sign in to comment.