Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Created January 31, 2018 19:51
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/963dfe2656f5b732a2ed1df4eaf1f55b to your computer and use it in GitHub Desktop.
Save matthieu-D/963dfe2656f5b732a2ed1df4eaf1f55b to your computer and use it in GitHub Desktop.
import Vue from 'vue';
import CustomIfModule from './custom-if';
const CustomIf = CustomIfModule['custom-if'];
var app = new Vue({
el: '#app',
directives: { CustomIf }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment