Gatsby
Docs & knowledge basesEmbed Vuframe® 3D models and Smartvus in Gatsby with the Vuframe embed code.
Show interactive Vuframe® 3D models and Smartvus in Gatsby. Visitors turn and zoom them, and open them in AR on their phone. No plugin is necessary: Gatsby takes the Vuframe embed code.
Add Vuframe content to Gatsby
- Copy the embed code of your 3D model or Smartvu (
https://embed.vuframe.com/<embed-code>), see iFrame embed. - In Gatsby, add the iframe embed code to a Markdown page (with gatsby-transformer-remark) or an MDX page.
- Publish, then test the page on a computer and on a phone.
Good to know: Give the iframe a pixel width and height; the official gatsby-remark-responsive-iframe plugin then scales it to the content width. Vendor docs: Gatsby: gatsby-remark-responsive-iframe.