3D model viewer plugin for Vue.js based on 3Dhop (3dhop.net)
They are described as "peerDependencies" in package.json
:
{
"vue": "^2.7.13",
"vue-i18n": "^8.28.2"
}
Copy the public/static/ directory into your project
in your main.js
:
import Hopla from 'hopla'
import i18n from 'src/plugin/vue-i18n.js' // your instance of VueI18n
Vue.use(Hopla, { i18n })
<template>
<Hopla
src="models/gargo.nxz"
/>
</template>