@doocacommerce/dooca-cli
v1.0.1
Published
Dooca commerce themekit CLI
Downloads
7
Readme
Dooca themekit cli
Ferramenta para desenvovimento de temas na plataforma Dooca commerce.
Instalação
Para instalação aconselhamos o uso do yarn
yarn global add @doocacommerce/dooca-cli
Configuração
Primeiramente iremos configurar o ambiente usando o comando dooca config
dooca config
Inicialização
Para inicializar o serviço use o comando dooca serve
, ele utilizará os dados do config para inicializar.
dooca serve
Opções de inicialização:
O comando dooca serve
pode ser usando com algumas opções, -s
para passar shop-id
e -t
para passar o tema.
dooca serve -s dooca -t default
Commandos extras
Será gerado os arquivos .twig
e .scss
no diretório do tema.
section
dooca section nome-section
snippet
dooca snippet nome-snippet
template
dooca template nome-template