Hi
Using the mono repo strategy for Nuxt Layer causes deployments to fail on Vercel, if they contain just a single import of a component from a base layer.
Component:
// Layer 1 (base) - Counter.vue
<template>
<div>
Hello World
</div>
</template>
// Layer 2
<template>
<div>
<Counter />
</div>
</template>
Deploying an extended Nuxt project on Vercel that contains a component, causes Rollup to fail:
[error] [vite]: Rollup failed to resolve import "vue/server-renderer" from "/vercel/path0/base/components/Counter.vue"
Reproduction:
https://github.com/madsh93/layer-min-repo
Should also be noted if any modules are using in the component, they will fail to import as well.