NuxtN
Nuxt4mo ago
8 replies
Tom

Override layer via c12 environment

Hi everyone,
after looking through c12 issues for a bit im still usure whether this is actually possible.
For local development I want to use the layer from a relative path. However when other people use it, i wouldn't want them to have to set up all repositories.
My config looks like something like this:

export default defineNuxtConfig({
  extends: [
    'github:refilelabs/base',
  ],

  $env: {
    $local: {
      extends: ['../base'],
    },
  },
)


However it seems that it always defaults to the remote source, no matter the envName.
Does anyone know why that could be?

Thanks a lot 🙂
Was this page helpful?