diff --git a/js/app.js b/js/app.js
index 3848ac45d..528e684f1 100644
--- a/js/app.js
+++ b/js/app.js
@@ -11,8 +11,6 @@
/* global OC, OCA, $, _, t, define, console */
-import Vue from 'vue';
-
define(function (require) {
"use strict";
@@ -36,6 +34,7 @@ define(function (require) {
$('form.searchbox').after($('
').attr('id', 'notifications'));
// Setup Vue
+ var Vue = require('vue');
this.vm = new Vue(require('./components/root'));
// Initial call to the notification endpoint
diff --git a/js/webpack.config.js b/js/webpack.config.js
index 22f0ebe19..bf19f7acf 100644
--- a/js/webpack.config.js
+++ b/js/webpack.config.js
@@ -35,7 +35,7 @@ module.exports = {
},
resolve: {
alias: {
- 'vue$': 'vue/dist/vue.esm.js'
+ 'vue': 'vue/dist/vue.js'
}
},
performance: {