import { CocoComponent } from "@assets/js/coco/component"; import { navigateTo } from "@helpers/location"; export default CocoComponent("appSidebarNavMenu", () => { return { navigateTo(url) { if (url !== "") { navigateTo(url); } }, }; });