In this video, learn how to provide a config argument / config option to your Vue.js composable. Config options let the developer using your composable tweak it’s behavior based on their needs. Merging the config options is crucial to the composable design, so that the entire config object isn’t required.
Defu is a great tool for merging deeply nested config objects.
Links