Vuepress not detecting theme/Layout.vue in a company project but detects it in smaller scale application

I have a company project that wasn’t scaffolded by me but had some git integrations, gitpod and the rest.
I tried creating a theme on this project but could it seemed like vuepress was not detecting the Layout.vue.

I branched out into a new project and it worked perfectly.

I used the exact code for the both of them.

I am not new to vue but I have only played with vuepress once, and it’s been a long while.

The project runs with no errors but It’s just not doing what it’s meant to.

Company vuepress structure(the one with the problem)

New project structure.
#vuepress #vue #typescript #vue3