Docusaurus

Docs & knowledge bases

Embed 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 ​

  1. Copy the embed code of your 3D model or Smartvu (https://embed.vuframe.com/<embed-code>), see iFrame embed.
  2. In Docusaurus, add the embed code to a Markdown or MDX page and write it as JSX: frameBorder and allowFullScreen instead of frameborder and allowfullscreen.
  3. 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.