initial stuff
This commit is contained in:
24
src/App.vue
Normal file
24
src/App.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
import { ref, onMounted } from 'vue'
|
||||
|
||||
import Button from "primevue/button"
|
||||
import DataTable from "primevue/datatable"
|
||||
import Column from "primevue/column"
|
||||
|
||||
const data = ref()
|
||||
|
||||
onMounted(() => data.value = [{potato: "potato", tato: "tato"}])
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div >
|
||||
<Button label="Verify"/>
|
||||
<DataTable :value="data">
|
||||
<Column field="potato" header="Potato"/>
|
||||
<Column field="tato" header="Tato"/>
|
||||
</DataTable>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
13
src/main.ts
Normal file
13
src/main.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { createApp } from 'vue'
|
||||
import PrimeVue from 'primevue/config';
|
||||
import Button from 'primevue/button'
|
||||
//import DataTable from ''
|
||||
import Aura from '@primeuix/themes/aura'
|
||||
import App from './App.vue'
|
||||
|
||||
const app = createApp(App)
|
||||
app.mount('#app')
|
||||
//app.use(PrimeVue)
|
||||
app.use(PrimeVue, { theme: { preset: Aura } })
|
||||
app.component('Button', Button)
|
||||
//app.component('DataTable', DataTable)
|
||||
Reference in New Issue
Block a user