A library of components and more for Nebula Labs projects.
All components must use tailwind-merge for any passed in Tailwind class names so that default styles can be overridden.
Steps to add the library to a new project.
- Run
git submodule add https://github.com/UTDNebula/nebula-library.git src/nebula-library. - Ignore
src/nebula-libraryin your configs for ESLint, Prettier, Jest, and TypeScript. - Add
"nebula-library": "file:src/nebula-library"underdependenciesin yourpackage.jsonand runnpm install. - Add
submodules: recursivein the "with" section ofactions/checkoutfor any GitHub actions that need it. - Update your documentation to use
git clone --recurse-submodulesand explain submodule development. - Start importing!