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 11{
22 "name" : " vue-email-editor" ,
3- "version" : " 0.6.1 " ,
3+ "version" : " 0.7.0 " ,
44 "main" : " ./dist/vue-email-editor.common.js" ,
55 "scripts" : {
66 "serve" : " vue-cli-service serve" ,
Original file line number Diff line number Diff line change 1414</template >
1515
1616<script >
17- import EmailEditor from ' ./components/EmailEditor.vue '
17+ import { EmailEditor } from ' ./components'
1818import sample from ' ./sample.json' ;
1919
2020export default {
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ const Components = {
55 EmailEditor,
66} ;
77
8- Object . keys ( Components ) . forEach ( name => {
8+ Object . keys ( Components ) . forEach ( ( name ) => {
99 Vue . component ( name , Components [ name ] ) ;
1010} ) ;
1111
12- export default Components ;
12+ export { EmailEditor } ;
13+ export default Components ;
You can’t perform that action at this time.
0 commit comments