import SidebarToggleIcon from '@/components/SidebarToggleIcon.vue'; //n the Sidebar.vue file, try to add the ".vue" extension in import declaration , something like this: