summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vue-moment.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/vue-moment.js b/plugins/vue-moment.js
new file mode 100644
index 0000000..43f689c
--- /dev/null
+++ b/plugins/vue-moment.js
@@ -0,0 +1,7 @@
+import Vue from "vue";
+
+import moment from "moment";
+import "moment/locale/it";
+import vuemoment from "vue-moment";
+
+Vue.use(vuemoment, { moment });