Closed intellix closed 7 years ago
Hi, I find this project quite interesting. I forked this directory and had the same problem. I am currently changing this line to
this.id = module ? 'exp'+module.id : 'name'+name;
I think one could just use unique name for this right?
Fixed via #24
Created an exp file for 2x components and noticed that I only have a single entry in the navigation. Was debugging why and found that I need to specify a module.id per experiment otherwise the ID names for each experiment defaults to
exp
: https://github.com/synapse-wireless-labs/component-lab/blob/76533b798e058713bfa2310793014541465a2083/src/index.ts#L22README.md says to create experiments like:
But in order to have multiple, they need to include a unique ID:
My guess is that with the webpack configuration included, an ID is always provided, but with Angular CLI there isn't one.
Any idea of how to tackle this?