Recently diving into the world of Nuxt 3, I've encountered a challenge while exploring TypeScript functionalities.
My current goal is to create a versatile NavBar featuring multiple buttons with unique links. To achieve this, I aimed to establish an interface that can be passed as an array to the component.
An example structure would be:
interface Button {
icon: string,
link: string
}
I'm curious if there's a method to make interfaces globally accessible across my project. Resources on TypeScript integration with Nuxt seem limited - any advice would be highly appreciated.