Skip to content

feat: allow overriding blocks from lower-priority Nuxt layers - #55

Open
danielwirz wants to merge 1 commit into
blokkli:devfrom
danielwirz:feature/layer-overrides
Open

feat: allow overriding blocks from lower-priority Nuxt layers#55
danielwirz wants to merge 1 commit into
blokkli:devfrom
danielwirz:feature/layer-overrides

Conversation

@danielwirz

Copy link
Copy Markdown

Implements #54. Nuxt layers: allow overriding blocks defined in a lower-priority layer

When multiple collected files define the same block identity (bundle +
renderFor variations, fragment name or provider), the file from the
highest-priority Nuxt layer (the app first, then extended layers in
order) wins and the other files are shadowed. Shadowed files are
re-activated when the overriding file is removed. Files within the same
layer keep surfacing as validation errors.

Also adds support for negated glob patterns (e.g.
'!**/components/Blokkli/Text/**') in the pattern option and collects
icon-blokkli-*.svg files from all Nuxt layers.
@netlify

netlify Bot commented Aug 12, 2026

Copy link
Copy Markdown

Deploy Preview for blokkli ready!

Name Link
🔨 Latest commit a279949
🔍 Latest deploy log https://app.netlify.com/projects/blokkli/deploys/6a7c22fbed0bbf00084da0cc
😎 Deploy Preview https://deploy-preview-55--blokkli.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant