This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
var Vue = require('vue')
var VueI18n = require('vue-i18n')
Vue.use(VueI18n)
var locale = 'fr'
var messages = {
"password.recall": "Rappel des conditions :",
"password.constraints.mindigits": "Contient aucun chiffre | Contient au moins 1 chiffre | Contient au moins {count} chiffres",
}
const i18n = new VueI18n({
locale,
messages,
})
i18n.setLocaleMessage(locale, messages)