<template>
  <div id="app">
    <ComponentItem style="width: 100px; height: 100px;" v-draggable-core.style>
      Test
    </ComponentItem>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import ComponentItem from './components/ComponentItem.vue';
import Draggable from './directives/draggable';

@Component({
    name: 'app',
    components: {
        ComponentItem,
    },
    directives: {
        'draggable-core': Draggable,
    },
})
export default class App extends Vue {}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  width: 100%;
  height: 100%;
  position: relative;
}
</style>
