Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active March 2, 2018 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/a6d9e008d7e35df9e7f92771673b445d to your computer and use it in GitHub Desktop.
Save matthieu-D/a6d9e008d7e35df9e7f92771673b445d to your computer and use it in GitHub Desktop.
var app = new Vue({
el: '#app',
.
.
.
methods: {
useSumFilter: function () {
const vanilaSumFunction = this.$options.filters["VanillaSum"];
return vanilaSumFunction(1, 2, 3);
}
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment