- Welcome
  - Component documentation
  - Component creation
- Hooks
  - aync-hook
  - horse-button
- Others
- Components
  - <global-style/>
  - <hello-world/>
  - <horse-download-box/>
  - <kun-post/>
  - <kun-vote/>
  - <login-component/>
  - <singular-author/>

Github Twitter

# 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/components

> Create a component inside the `src/components/` directory

Where :

1. `template/tfolder/component`: source of the template to clone for the component.
2. `src/components`: Destination of the cloned template for the component.

Console output example

    tfolder template/tfolder/component src/components

    ? Component Name? » custom-element

> The 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.