Client Libraries
The available libraries for client-side apps:
- Vuejs: Vue-Contenu
Very soon, more libraries will get ready for other front-end javascript frameworks. Contributing is wholeheartedly accepted ❤️.
Installation
$ yarn add vue-contenu
Add to project
// main.js
import Vue from "vue";
import Contenu from "vue-contenu";
Vue.use(Contenu, {
serverAddress: "http://localhost:8080",
});
Usage
<template>
<div>
<p>{{ $contenu("header.name") }}</p>
<p>{{ $contenu("header.job") }}</p>
</div>
</template>
This object would be like
header :{
name: "",
jon: ""
}