Closed
Description
With data() defined
Without data() defined
<script lang="ts">
import { defineComponent } from 'vue';
import { vmin } from '@/lib/css';
import ButtonWrapper from './ButtonWrapper.vue';
export default defineComponent({
name: 'Selection',
components: {
ButtonWrapper
},
data() {
return {
user: {
id: 123456,
name: 'ARDELAN 🐈🧶',
picture:
'https://www.pcgamesn.com/wp-content/sites/pcgamesn/2022/12/gta-5-dlc-los-santos-drug-wars.jpg'
}
};
},
methods: {
vmin
},
props: {
page: {
type: String,
default: 'selection',
validator: (value) => {
return typeof value === 'string';
}
}
}
});
</script>
Metadata
Metadata
Assignees
Labels
No labels