0.0.9 • Published 2 years ago
dkrv v0.0.9
dkrv CLI
- CLI para a criação de components, template e style global
mais informações sobre a CLI
- Check out the documentation at Documentação
Prerequisites
install
$ npm install dkrv
Uses
- cria pasta base
src
Comandos
Cria componentes
- a criação em
typescript
e default parajavascript
usercreate-js
$ dkrv create <name_folder>
Cria pages
- a criação em
typescript
e default
$ dkrv pages <name_folder>
Cria style global em
- template e usado para Reactjs com styled-components.com
$ dkrv template
- template global base
import { createGlobalStyle } from "styled-components";
export const GlobalStyle = createGlobalStyle`
:root{
--primary: #019fcf;
--secondary: #191923;
--third:#252430;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body, html{
background: #353535;
overflow: visible;
}
a{
text-decoration: none;
text-decoration-color: red;
}
`