P E N C I L
Login
Tricks

1. methods: {

f: function() {} . don't use lambda as we need this

}

2. template

When render without container

3. v-bind: spread properties

4. use lodash-es for tree-shake

5: function declare

{ a: function() {} }

Or:
t{ a() {} }

6. Use provide for injection

7. Name component for debugging