This website is based on the upcoming changes of the elabs Rails engine. Everything's not fine, but you can see the changes coming in the next releases.

Legal stuff about this site and your private life:

  • We use a cookie to keep your preferences (language, NSFW status, login status) during navigation.
  • We use your local storage to save the announces you closed (like this one).
  • We don't save informations you don't give
  • We don't share your email address if you comment or register
  • There is no tracker of any kind.

If you're not OK with this, move your way.

Collection of small pieces of code created for VueJS projects. This is a work in progress, the different pieces are tied together.

After almost a year in VueJS development, I tried to put reccurent pieces of code in a npm module, vuejs-elabs-libs.


From the README:

There is no browser support for now, this is meant to be used with webpack.

Modules:

  • API: An HTTP wrapper tied to VueX to handle loading states and API errors
  • Common: Some basic functions
  • Modeler: Model structure generator to use with the Modulator
  • Modulator: VueX module generator with some base getters/setters
  • Notifier: proxy messaging system. Replace it with your own (as vuex-toast)
  • VueX (modules):
    • AuthModule: JWT Auth module for VueX
    • LoadersModule: handle and manage the app's loading state
    • PageStateModule: handle and manage the page's state

Requirements:

You should use these libraries in your app:

  • VueX
  • VueResource

Laisser un commentaire

Vous voulez réagir à ce contenu ou demander quelque chose à l'auteur ? Il suffit de laisser un commentaire ici !

Notez que les commentaires ne sont pas visibles publiquement, donc ne vous inquiétez pas si vous ne voyez pas le vôtre.

Toutes les informations que vous donnez ne seront visibles que par l'auteur. Nous ne partageons rien avec des tiers.

Ne remplissez pas ce champ si vous souhaitez que ce formulaire soit enregistré.