Closed dbellinghoven closed 3 years ago
I'm having the same issue, what was your solution?
@dbellinghoven, any details about how you fixed your issue ?
vue3-sfc-loader works fine with Vuetify, but you have to recognize that most folks use Vuetify with built-time plugins that perform the component import/registration automatically. If you want that sort of behavior you'd need to implement it in your application something like what I've done here: https://github.com/symbioquine/farmOS_asset_link/blob/caf3eb80a6593a9332f51b07ea4a7ca1031f36d6/alinkjs/src/AssetLinkPluginLoaderCore.js#L62-L127
Describe the bug
Hello, I currently have a Vuetify app that I wish to use with the
vue-sf3-loader
. However, I can't seem to figure out how to make it work with Vuetify. Specifically, if the content retrieved byloadModule
contains any Vuetify elements (e.g.v-btn
,v-card
, etc.) I get the following error:This is a basic snippet of what is happening (see here for the exact code):
I was hoping someone could help me figure out how to make it so that Vuetify elements are recognized by
loadModule
.To Reproduce
git clone git@github.com:dbellinghoven/referral.git
cd referral/ui
yarn serve
localhost:8080
in your browserExpected behavior
Versions
Additional context