# Grinding Simulator Components

<script>
  const indexMdPath = lively.query(this, 'lively-container').getPath()
  const templateURL = indexMdPath.replace(/index\.md$/, 'template')

  import ComponentCreator from "src/client/morphic/component-creator.js"
  var container  = lively.query(this, "lively-container")
  if(!container) throw new Error("Not inside lively container?");
  ComponentCreator.createUI(container, templateURL)
</script>
  
<script>
  ComponentCreator.listComponentsUI(container)
</script>
