Automated Module Scaffolding
Learn why we need scaffolding and how we can automate it.
We'll cover the following...
Why we automate module scaffolding
When creating a new Vuex module, there are quite a few things we have to do, such as creating files for the state and getters, adding imports and exports for each file, and so on. The great thing about being a developer is that we can automate boring and tedious stuff.
Let’s create a node script that creates Vuex modules for us automatically. Any scripts such as ...