Skip to content

Commit

Permalink
migrate to vue-cli 4
Browse files Browse the repository at this point in the history
- needed to have fix vuejs/eslint-plugin-vue#910
- adapt to core-js@3.x
  • Loading branch information
prigaux committed Jan 4, 2020
1 parent 59cd8eb commit 1cc373d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions package.json
Expand Up @@ -16,9 +16,13 @@
"vue-translate-plugin": "^1.2.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.4.0",
"@vue/cli-plugin-eslint": "^3.4.0",
"@vue/cli-service": "^3.4.0",
"@vue/cli-plugin-babel": "^4.1.2",
"@vue/cli-plugin-eslint": "^4.1.2",
"@vue/cli-service": "^4.1.2",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.3",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"vue-template-compiler": "^2.6.6"
},
"postcss": {
Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Expand Up @@ -7,8 +7,8 @@ import router from './router'
import Translations from './translations'
import GlobalMixin from './GlobalMixin'
import AsyncComputed from 'vue-async-computed'
import 'core-js/modules/es6.promise'; // needed by vue-async-computed (why does it not go through babel transform-runtime?)
import 'core-js/modules/es6.array.find';
import 'core-js/modules/es.promise'; // needed by vue-async-computed (why does it not go through babel transform-runtime?)
import 'core-js/modules/es.array.find';
import './directives';

Vue.use(AsyncComputed)
Expand Down

0 comments on commit 1cc373d

Please sign in to comment.