mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-13 00:42:23 +03:00
Code restructure (#1)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import Vue from 'vue';
|
||||
import { VueContext } from '../../../dist/vue-context';
|
||||
|
||||
new Vue({
|
||||
components: {
|
||||
VueContext
|
||||
},
|
||||
|
||||
methods: {
|
||||
onClick (data) {
|
||||
console.log(data);
|
||||
},
|
||||
},
|
||||
}).$mount('#app');
|
||||
Reference in New Issue
Block a user