Skip to content

Instantly share code, notes, and snippets.

@tsukiyama-a5
Last active November 18, 2019 11:42
Show Gist options
  • Select an option

  • Save tsukiyama-a5/93c876ba9fa1bff6206dead4da0e7068 to your computer and use it in GitHub Desktop.

Select an option

Save tsukiyama-a5/93c876ba9fa1bff6206dead4da0e7068 to your computer and use it in GitHub Desktop.
Vue.filter('format', function(value){
return '御年' + value + '歳';
});
// new Vueより上にコーディングすること
var app = new Vue({
el: '#app',
data: {
name: 'ogura',
age: 53
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment