File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-email-editor" ,
3
- "version" : " 0.6.1 " ,
3
+ "version" : " 0.7.0 " ,
4
4
"main" : " ./dist/vue-email-editor.common.js" ,
5
5
"scripts" : {
6
6
"serve" : " vue-cli-service serve" ,
Original file line number Diff line number Diff line change 14
14
</template >
15
15
16
16
<script >
17
- import EmailEditor from ' ./components/EmailEditor.vue '
17
+ import { EmailEditor } from ' ./components'
18
18
import sample from ' ./sample.json' ;
19
19
20
20
export default {
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ const Components = {
5
5
EmailEditor,
6
6
} ;
7
7
8
- Object . keys ( Components ) . forEach ( name => {
8
+ Object . keys ( Components ) . forEach ( ( name ) => {
9
9
Vue . component ( name , Components [ name ] ) ;
10
10
} ) ;
11
11
12
- export default Components ;
12
+ export { EmailEditor } ;
13
+ export default Components ;
You can’t perform that action at this time.
0 commit comments