0.0.9 • Published 1 year ago
dkrv CLI
- CLI para a criação de components, template e style global
mais informações sobre a CLI
Prerequisites
- Node.js and npm installed (verified with npm version 7.0.5 and Node 14.4.0).
install
$ npm install dkrv
Uses
Comandos
Cria componentes
- a criação em
typescript
e default para javascript
user create-js
$ dkrv create <name_folder>
Cria pages
$ dkrv pages <name_folder>
Cria style global em
$ dkrv template
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;
}
`