Sunday, 1 July 2018

Vue 3 Rules of Directives

Vue 3 not the same as vue 1. It becoming much simpler however it will us spending time to search for solution.

here the new style how to write v-if and else

<div v-if ="seen">this should seen!</div>
<div v-else>Hei you All!</div>

for v-for, it required key

<li v-for="front in fronts" :key="front">

Translate manually Wordpress

 add_filter( 'gettext', function( $translated, $original, $domain ) {     // Senarai penggantian (case-insensitive)     $map = array...