Component creation
Atomico automates the process of creating standardized components, a system of directories created thanks to the package tfolder
npm run create:component
tfolder template/tfolder/component src/componentsCreate a component inside the
src/components/directory
Where :
template/tfolder/component: source of the template to clone for the component.src/components: Destination of the cloned template for the component.
Console output example
tfolder template/tfolder/component src/components
? Component Name? ยป custom-elementThe attached template will create the following files:
src/components/${component}
${component}.js
${component}.css
${component}.md
${component}It will be replaced by the name entered when starting the script.