Vue & Quasar - Sharing a custom component Vue & Quasar - Sharing a custom component vue.js vue.js

Vue & Quasar - Sharing a custom component


If you add Quasar as a dependency you can then import components from it individually, e.g.

<template>    <q-select :value="value" :options="options" @change="handleChange" filter filter-placeholder="select"/></template><script>  import { QSelect } from 'quasar'  export default {    props: ['value', 'options'],    methods: {      handleChange (newVal) {        this.$emit('input', newVal)      }    },    components: {      QSelect    }  }</script>

Here's the whole tutorial I got this example from: https://forum.quasar-framework.org/topic/696/how-to-building-components-with-quasar