About
This plugin contains 3 packages:
- elementor-widgets - contains 2 elementor widgets for embedding models into your site: "SeeMyModel Viewer" and "SeeMyModel Group Viewer". Requires Elementor widget installed and acitvated.
- gutenberg-blocks - contains 2 editor blocks for embedding models into your site: "SeeMyModel Viewer" and "SeeMyModel Group Viewer"
- woocommerce - extension that adds 3D model views to product pages. Requires Woocommerce widget installed and activated.
Installation
- Place this plugin inside your wp-content/plugins directory or download it from wordpress store.
- Enable
SeeMyModel
plugin from wordpress plugins page.
- Go to
Setting->SeeMyModel settings
on your admin panel and log in with your seemymodel.com user credentials.
Development
In order to modify gutenberg-blocks you need to compile them after each modification. Each block has its own package. In each package folder (e.g.
packages/gutenberg-blocks/seemymodel-viewer
) you need to run:
cd /path/to/package
to enter into package folder (e.g. cd packages/gutenberg-blocks/seemymodel-viewer
)
npm install
to install dependencies
npm run start
to run compilation in watch mode