Open patrickelectric opened 1 year ago
I also imported it manually on the webpage that's necessary.
[Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <VueTour>
<VApp>
<App> at /Users/patrick/git/blue/blueos/core/frontend/src/App.vue
<Root>
I fixed this by adding VTour to a VuetifyResolver ignore list. Here's the relevant part of the vite config:
import Components from "unplugin-vue-components/vite";
import { VuetifyResolver } from "unplugin-vue-components/resolvers";
const CustomVuetifyResolver = {
type: "component",
resolve: name => {
const ignored = ["VStripe", "VTour", "VStep"];
if (ignored.some(prefix => name.startsWith(prefix))) return;
return VuetifyResolver().resolve(name);
}
};
export default defineConfig(({ command, mode }) => {
const config = {
plugins: [
vue(),
Components({
resolvers: [CustomVuetifyResolver]
})
],
return config;
});
I'm trying to do the integration with:
But with no luck