summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-21 16:20:21 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-21 16:20:21 +0200
commitc1367091765bf69a9ba063f4551059dae345f022 (patch)
tree03b8bf3b3f39b572971ba8ae4918c4422034842c /plugins
parent0a99b1d5da22b8fdec44d14b12377488091758f9 (diff)
Data info for a model
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 });