Skip to content

fix: support components/content in layers for extends - #1404

Merged
atinux merged 1 commit into
mainfrom
feat/layers
Aug 2, 2022
Merged

fix: support components/content in layers for extends#1404
atinux merged 1 commit into
mainfrom
feat/layers

Conversation

@atinux

Copy link
Copy Markdown
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Resolves#1386

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Aug 2, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt-content ready!

NameLink
🔨 Latest commit4cb1117
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt-content/deploys/62e8e82e4a9fef00095cdcc7
😎 Deploy Previewhttps://deploy-preview-1404--nuxt-content.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 site settings.

@atinux
atinux merged commit f439178 into mainAug 2, 2022
@atinux
atinux deleted the feat/layers branch August 2, 2022 09:10
Comment threadsrc/module.ts
logger.success('Using `~/components/content` for components in Markdown')
}
nuxt.hook('components:dirs', (dirs) => {
dirs.unshift({

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unshift combined with multi-layer, causes layers overriding user dir

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@farnabazfarnabaz mentioned this pull request Aug 12, 2022
@pi0pi0 mentioned this pull request Aug 16, 2022
7 tasks
Sign up for freeto 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.

Support components/content in extends

2 participants

@atinux@pi0