]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/vues/attachment-manager.js
Update maintenance.php
[bookstack] / resources / assets / js / vues / attachment-manager.js
index 5acad6184a95305c1e1dc4471a335daa62a9c069..2467c646d630d363a1d431c35f210936e046175a 100644 (file)
@@ -1,5 +1,5 @@
-const draggable = require('vuedraggable');
-const dropzone = require('./components/dropzone');
+import draggable from "vuedraggable";
+import dropzone from "./components/dropzone";
 
 function mounted() {
     this.pageId = this.$el.getAttribute('page-id');
@@ -137,6 +137,6 @@ let methods = {
 
 };
 
-module.exports = {
+export default {
     data, methods, mounted, components,
 };
\ No newline at end of file