Hi @flavortron
You can use the selector based approach if I understood the ask properly.
Let's say you have different component called abc and xyz. Now each of the component will have it's own script i.e., abc.html and xyz.html.
if you want to check the preview, you might include another script i.e., preview.html in each of the component and then you can access the page with pageurl.preview.html. This will ensure the preview.html script for each component to load and you can see the preview instead of actual component markup.
Thanks!