npm.io
0.0.9 • Published 3 years agoCLI

dkrv

Licence
MIT
Version
0.0.9
Deps
3
Size
10 kB
Vulns
0
Weekly
0

dkrv CLI

  • CLI para a criação de components, template e style global

mais informações sobre a CLI

Prerequisites

  1. Node.js and npm installed (verified with npm version 7.0.5 and Node 14.4.0).

install

$ npm install dkrv

Uses

  • cria pasta base src

Comandos

Cria componentes
  • a criação em typescript e default para javascript user create-js
$ dkrv create <name_folder>
Cria pages
  • a criação em typescript e default
$ dkrv pages <name_folder>
Cria style global em
$ 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;
}

    
`