This repository showcases two ways to wrap and extend Quasar components using typescript.
Branch option-1
contains the first way to do it, using unplugin-vue-component
and inferred typings from the wrapped file. This is also the code present in the main
branch.
Branch option-2
contains the second way, defining a global component using a boot file that can be used anywhere in the code.
yarn
# or
npm install
quasar dev
yarn lint
# or
npm run lint
yarn format
# or
npm run format
quasar build