summaryrefslogtreecommitdiffstats
path: root/src/main.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-01 08:45:24 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-10-01 08:45:24 +0200
commit32483d180bbcf61b068f5534be3aef9d11ee1fdc (patch)
tree21fec642b0ef3be3099ca79ee7fa06e2a1744d79 /src/main.js
parentd520d96fee5e791cf7cea9cd5ffcbbbe4ce8d2ea (diff)
Fix date formating and default date value + deps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index 628772b0..aea10604 100644
--- a/src/main.js
+++ b/src/main.js
@@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+import '@babel/polyfill'
import Vue from 'vue'
import App from './App'
@@ -33,8 +34,9 @@ __webpack_nonce__ = btoa(OC.requestToken)
// Correct the root of the app for chunk loading
// OC.linkTo matches the apps folders
// OC.generateUrl ensure the index.php (or not)
+// We do not want the index.php since we're loading files
// eslint-disable-next-line
-__webpack_public_path__ = OC.generateUrl(OC.linkTo('contacts', 'js/'))
+__webpack_public_path__ = OC.linkTo('contacts', 'js/')
sync(store, router)