Vue.js JavaScript vuex
If you run a SaaS, you probably want to show your users when they are almost running out of widgets. Or that they can get some cool feature on a more expensive plan.
Or, in other words, how can you be nice and commercial in dealing with plan limits?
We use Vue.js with Vuex for our front end, but the patterns and code examples here can be applied to any other SPA framework.
We implemented some very specific data structures in Vuex to make it easy for components to check what a user's status is with regard to plan limits and usage. This centralizes and encapsulates the knowledge about typical SaaS things in one place and leverages Vue's component system nicely. Read more in the dedicated blog post.
0 views0


