Docusaurus
Docs & knowledge basesEmbed Vuframe® 3D models and Smartvus in Docusaurus with the Vuframe embed code.
Show interactive Vuframe® 3D models and Smartvus in Docusaurus. Visitors turn and zoom them, and open them in AR on their phone. No plugin is necessary: Docusaurus takes the Vuframe embed code.
Add Vuframe content to Docusaurus
- Copy the embed code of your 3D model or Smartvu (
https://embed.vuframe.com/<embed-code>), see iFrame embed. - In Docusaurus, add the embed code to a Markdown or MDX page and write it as JSX:
frameBorderandallowFullScreeninstead offrameborderandallowfullscreen. - Publish, then test the page on a computer and on a phone.
Good to know: Docusaurus reads Markdown as MDX, so HTML must be valid JSX; a style attribute needs an object such as style={{border: 0}}. Vendor docs: Docusaurus: MDX and React.