JSPM

  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q78372F
  • License MIT

CLI for dash building

Package Exports

  • web-dash-builder
  • web-dash-builder/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web-dash-builder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Web dash builder(wdb)

Ferramenta para tornar websites compatíveis com o Sankhya.

Como funciona?

O pacote recebe a pasta, converte e gera uma nova pasta com os arquivos convertidos, assim como também gera um arquivo ZIP pronto para ser enviado ao "Construtor de Componentes BI".

Instalação

$ npm i web-dash-builder

ou se preferir Yarn:

$ yarn add --dev web-dash-builder

Uso

Vite

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import { plugin } from "web-dash-builder";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(), plugin()],
});

Executando script

import {build} from "web-dash-builder";

 build({
      jsp: [],
      outDir: "dist",
      src: "./build",
    })

Linha de comando

 wdb --build

Ou, pode ser especificado o nome do diretorio. Obs: Ainda não é possivel escolher o nome do diretorio de saida

 wdb --build=dist

Pode ser especificado também, mutiplos diretorios

 wdb --build=dist,build,out

Autores