hopla
v0.3.1
Published
3D model viewer plugin for Vue3 based on 3Dhop (3dhop.net)
Downloads
12
Readme
Hopla
3D model viewer plugin for Vue.js based on 3Dhop (3dhop.net)
Requirements
They are described as "peerDependencies" in package.json
:
{
"vue": "^2.7.13",
"vue-i18n": "^8.28.2"
}
Installation
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 })
Usage
<template>
<Hopla
src="models/gargo.nxz"
/>
</template>