A library that packages common boilerplate frontend code necessary for all neeto products.
Install from npm:
yarn add "@bigbinary/neeto-commons-frontend@latest"
This package relies on the host project's tailwind configuration. So add neeto-commons-frontend to your project's tailwind.config.js file:
module.exports = {
purge: {
content: [
// ... other content directories
"./node_modules/@bigbinary/neeto-commons-frontend/**/*.js",
],
},
// ... other tailwind config options
};
This package exports five different sets of functions and components. Click on them to read more:
- Initializers
- React utilities
- Web utility functions
- Default configurations
- Cypress Utils
- Common constants
All our build files are in dist
folder, so when you publish make sure to pass
the dist dir.
yalc publish dist