diff --git a/test/index.html b/test/index.html
index 4da3af6..98d97bc 100644
--- a/test/index.html
+++ b/test/index.html
@@ -86,6 +86,13 @@
Available locales
{{ locale }}
+
+ With computed propery:
+
@@ -347,6 +354,11 @@ Load missing translations asynchronously
this.$i18n.set('fr');
this.$i18n.add('fr', localeFr);
}
+ },
+ computed: {
+ locales() {
+ return Object.keys(this.$store.state.i18n.translations);
+ }
}
});