A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
A library that packages common boilerplate frontend code necessary for all neeto
products.
Install from npm:
``bash`
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:
`js`
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:
1. Initializers
2. React utilities
3. Web utility functions
4. Default configurations
5. Common constants
- Development instructions
- Building and releasing
- Migrating from v1 to v2
- API documentation logistics
All our build files are in dist folder, so when you publish make sure to pass
the dist dir.
`bash``
yalc publish dist