Skip to content

Commit 4afb6be

Browse files
committed
change promise-polyfill
1 parent 881952a commit 4afb6be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
window.Promise = require('pinkie-promise')
1+
import Promise from 'promise-polyfill'
2+
window.Promise = window.Promise || Promise

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "{{ author }}",
1515
"license": "MIT",
1616
"dependencies": {
17-
"pinkie-promise": "^2.0.1",
17+
"promise-polyfill": "^6.0.2",
1818
"vue": "^2.1.0",
1919
"vue-router": "^2.0.0",
2020
"vuex": "^2.0.0",

0 commit comments

Comments
 (0)