Create a POS System in Vue.js - Part 2

Monday, December 21, 2015

In the previous post, we created a simple Point of Sale system. However, the code only uses one Vue instance and no compnents. 


There is no sense of encapsulation in the code. The main Vue instance is responsible for doing everything. We should move some of these pieces into their own components so that each one can be responsible for itself and use the parent to share state between child components instead. Also, since this is already a working “product,” this should require alot of copy-and-pasting with some extra additions.

READ MORE

You Might Also Like

0 comments