Coder Social home page Coder Social logo

db-ui-toolkit's Introduction

dAppBooster UI Toolkit

dAppBooster common UI components

A preview is available at https://db-ui-toolkit.vercel.app/

Installation

  • Clone the repo following the usual steps.
git clone [email protected]:BootNodeDev/db-ui-toolkit.git
  • Install
nvm use
pnpm i
pnpm dev # Runs a preview on http://localhost:1208

Development alongside dAppBooster

pnpm remove db-ui-toolkit
  • Install your local copy of db-ui-toolkit on dAppBooster (i.e.: pnpm i /users/yourusername/db-ui-toolkit)
pnpm i <path_to_where_the_local_library_is>

Now you can run dAppBooster locally using pnpm dev and it'll use your local build of db-ui-toolkit.

Important: Don't forget to use pnpm build when you want to see your changes in dAppBooster.


You can try a three consoles approach:

  • One for dAppBoster (pnpm dev runs on http://localhost:5173/)
  • A second one for dAppBooster UI Toolkit's preview (pnpm dev runs on http://localhost:1208/)
  • A third one for building dAppBooster UI Toolkit (pnpm build will update the files in /dist and the changes will be immediately available on your local copy of dAppBooster).

Building

pnpm build # This command generates a new distributable bundle in the /dist folder

Deployment

  • I suggest working in a branch different to main for this, i.e.: feat/new-feature
  • Make any changes you want.
  • Test your changes. Be thorough. Make sure that everything works by itself in the preview AND in dAppBooster.
  • Run pnpm build.
  • Commit and push your changes, and merge into main
  • Once everything is stable and ready for release tag a new version so you don't break everything for everyone.

Note: This package is not yet published to npm, so you'll have to use it by doing pnpm add BootNodeDev/db-ui-toolkit#tag or pnpm add BootNodeDev/db-ui-toolkit on your console.

db-ui-toolkit's People

Contributors

gabitoesmiapodo avatar

Stargazers

Fernando Greco avatar

Watchers

Tomas Rojas avatar Pablo Fullana avatar Fernando Greco avatar Lisandro Corbalan avatar  avatar

db-ui-toolkit's Issues

[UI] Generic error

A catch-all component to inform users when the app crashed, unknown errors, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.