@tpbradley @dan
Ok guys, trying to understand devpack again, but it’s pretty confusing to me.
When I created a devpack following the video:
-
Whether there is only a single component or a bunch of components, do they always get placed inside of the ‘components’ folder?
-
I see two info.json files in my devpack. We need clear explanation of what the root one should contain vs the one within the component.
-
Should version and build both be a single integer number, like 1 in both?, as Tom didn’t give me a concrete example and of course docs are probably wrong.
-
If we are going to have you guys host the products is info.json ‘missing URL’ even needed? As I guess you guys will handle helping client w/ reinstalling, etc.
-
Is framework info.json, when an element uses a particular framework like Foundation, or is it meant to indicate something else? I didn’t understand this at all ‘You can use this key to group Elements from the same Framework togther.’
Or maybe it’s to group a bunch of elements together in left panel, not sure. -
What assets in info.json should be declared ?
-
Since I didn’t see an explanation, are things placed in assets folder supposed to be non-variable files? And files placed in templates folder are supposed to contain {{variables}}?
-
Do we put the hooks file in shared hooks folder as hooks.js and if there are more than one element, how does Elements know which file goes with which element?
-
Not sure if there is only one element in the pack, if we need to set up a hooks, assets, templates folders inside of the component?
-
Will shared templates folder support all the types specified in portal?
-
I think it would be a good idea that when a devpack is created it builds ALL folders and sets up dummy files, so we don’t have to spend hrs trying to figure out where everything needs to be put. (Stretch goal - take all files in a specified component during devpack creation and put them where they need to go)