@jraez Tried extending QInput but I’m getting this error:
Failed to mount component: template or render function not defined.
Tried copy pasting your example but I get the same error
MyInput.vue
<script>
import QInput from 'quasar'
export default {
name: 'MyInput',
extends: QInput,
props: {
outlined: {
type: Boolean,
default: true
},
dense: {
type: Boolean,
default: true
}
}
}
</script>
Page.vue
<template>
<div>
<my-input></my-input>
</div>
</template>
<script>
import MyInput from 'components/MyInput'
export default {
components: { MyInput },
name: 'PageIndex'
}
</script>
Am I doing it wrong?