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

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

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.