One of those easy-to-forget and hard-to-google things is inlining tags with pug. Outputs “<p>Edit <i>text</i></p>
Monthly Archives: October 2020
Properly adding v-model support to a component (vue.js)
This is one of those things I always forget that’s hard to google properly. In a child component, adding v-model support starts with a ‘value’ prop. This is the input value arriving at the child component. In the example below, I’m expecting to work with an array. We don’t want to mutate the underlying passed […]
Copying Small startups – Food Booking Software.
Food Booking Software – mind map. Eating at a pub involves lining up with the other patrons, reviewing the menu, speaking back the order and any alterations to staff who enter it in the system and ring up a price. The customer pays for the order and the order goes to the back-restaurant/make-bench to be […]