Vue CreatApp

PHOTO EMBED

Wed Dec 22 2021 19:59:24 GMT+0000 (Coordinated Universal Time)

Saved by @mmerkley #vue.js

const app = Vue.createApp({
  data() {
    return {
      
    }
  },
  methods: {
    
  },
});

// A component template
app.component('name-of-component', {
  props: [],
  template: `
  
  `,
  mounted() {
    // var self = this;
	// function to emit
    // self.$emit('funciton-of-emit', value);
  },
  emits: [],
});

app.mount('#game');
content_copyCOPY