Open joshuapease opened 3 years ago
Calling a command like this...
craft viget-base/generate section resources --types="caseStudy, webinar, glossary"
Will create a new section in the Craft admin with corresponding entry types.
The appropriate templates will also be created in templates/_elements/
templates/_elements/
If there are multiple entry types, the pattern will be templates/_elements/sectionName/index.html with corresponding files for each entry type.
templates/_elements/sectionName/index.html
Calling a command like this...
Will create a new section in the Craft admin with corresponding entry types.
The appropriate templates will also be created in
templates/_elements/
If there are multiple entry types, the pattern will be
templates/_elements/sectionName/index.html
with corresponding files for each entry type.