Vue CreatApp

PHOTO EMBED

Wed Dec 22 2021 19:59:24 GMT+0000 (UTC)

Saved by @mmerkley #html

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