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.


  • 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


You should use these libraries in your app:

  • VueX
  • VueResource

Leave a comment

You want to react to this content or ask something to the author? Just leave a comment here!

Note that the comments are not publicly visible, so don't worry if you don't see yours.

All the information you give will only be visible to the author. We don't share anything with anyone.

Don't fill this field if you want this form to be saved.