--
You received this message because you are subscribed to the Google Groups "component" group.
To unsubscribe from this group and stop receiving emails from it, send an email to componentjs...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I think it is up to you to whether package them all as a component or separately.If these are always reused together, you may put just one component.json to include them all.Otherwise, if they are to be reused separately, then it is reasonable to split into several components.
So, to summarize, it is impossible present these three files (with their html files) as a single component, is it?
--
If you want them to be together but used separately. You still can just export them in one js file. e.g.module.exports = {user: require('./user.js'),userDigest: require('./userDigest.js')discount: require('./discount.js')}
--
It kind of already does with component create -l lib/name
The only reason I'm not using it is because I'd rather have it not prompt for my use case and I have a few extra files in my skeleton. Maybe a component skel command with some of these features would be the way to go here.
--