Skip to content

Commit

Permalink
fix: resolve import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sniperadmin committed Nov 17, 2021
1 parent 6bf6d59 commit 2c874c3
Showing 1 changed file with 4 additions and 50 deletions.
54 changes: 4 additions & 50 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,65 +9,19 @@
<script lang="ts">
import Vue from "vue";
import DefaultLayout from "./layouts/DefaultLayout.vue"
import TheDataTable from "./components/TheDataTable.vue"
import fakeData from "@/utils/example-data.json"
export default Vue.extend({
name: 'App',
components: {
DefaultLayout
DefaultLayout,
TheDataTable
},
data() {
return {
tableData: fakeData,
dessertHeaders: [{
text: 'Dessert (100g serving)',
align: 'start',
sortable: false,
value: 'name',
},
{
text: 'Calories',
value: 'calories'
},
{
text: 'Fat (g)',
value: 'fat'
},
{
text: 'Carbs (g)',
value: 'carbs'
},
{
text: 'Protein (g)',
value: 'protein'
},
{
text: 'Iron (%)',
value: 'iron'
},
{
text: '',
value: 'data-table-expand'
},
],
desserts: [{
name: 'Frozen Yogurt',
calories: 159,
fat: 6.0,
carbs: 24,
protein: 4.0,
iron: '1%',
},
{
name: 'Ice cream sandwich',
calories: 237,
fat: 9.0,
carbs: 37,
protein: 4.3,
iron: '1%',
},
],
}
}
});
</script>
</script>

0 comments on commit 2c874c3

Please sign in to comment.