vue-3d-model
vue-3d-model copied to clipboard
can't use in nuxt
trafficstars
i tried many method use this component in vue and i saw someone ask as well here , but it was 2017, i cant use this component in vue, it keep me error it said that i not register that component yet
thought i register this in ~/plugins/ModelGltf.js
import Vue from 'vue';
import { ModelGltf } from 'vue-3d-model';
if (process.BROWSER_BUILD) {
Vue.use(ModelGltf);
}
but still not working
Can you provide a repository to reproduce it?
Wrap the component in the client-only tag.