Add livewire-script in Topbar

Is it possible to add a livewire script inside of the topbar without publishing views?
Was this page helpful?