Skip to content
This repository was archived by the owner on Apr 1, 2019. It is now read-only.

Commit d74a19e

Browse files
author
Walker Leite
committed
fix error in index.js and add babel preset as dependency
1 parent b04f8cf commit d74a19e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

template/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"vue": "^2.4.1"
2323
},
2424
"devDependencies": {
25+
"babel-preset-es2015": "^6.24.1",
2526
"eslint": "^3.17.1",
2627
"eslint-plugin-vue": "beta",
2728
"vue-cli": "^2.8.2",

template/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ if (typeof window !== 'undefined' && window.Vue) {
88
window.Vue.use(Component)
99
}
1010

11-
export Component;
11+
export default Component;

0 commit comments

Comments
 (0)