Setup the configurator
On this page you will learn how to set up a basic version of our Ruben Configurator which you can then customise, listen to events or call API functions.
Code Sandbox:
Setup the configurator container in the html
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
}
#configurator-container {
width: 100vw;
height: 80vw;
}
</style>
</head>
<body>
<!-- setup the configurator container -->
<div id="configurator-container"></div>
<!-- link to the script file -->
<script src="./index.js" type="module"></script>
</body>
</html>Import the RoomleConfigurator instance
Loading the item
Conclusion
Last updated