@teamnovu/utils
v3.0.2
Published
Utilities commonly used by @teamnovu
Downloads
23
Readme
novu Utils
A repository containing commonly used utilities.
Installation
yarn add @teamnovu/utils
List of Utils
Common
- useId is used to generate unique ID's eg. for input fields and their labels.
Vue.js
- useDispatchStoreAction simplifies dispatching a store action, tracking it's state and displaying validation errors. It can be used for simple form submits.
- Popover is a collection of components that imitate HeadlessUI's popover components and are compatible with Vue 2.
Error handling
If you encounter Module parse failed: Unexpected token
-error try adding the utils-package to the build.transpile
option in your nuxt.config.js
:
build: {
transpile: [
'@teamnovu/utils',
],
]
Releasing a new verison
yarn release