Skip to content

fix(docs): Update ContentSlot Documentation#2713

Merged
farnabaz merged 1 commit intonuxt:mainfrom
jacstrong:patch-1
Jul 17, 2024
Merged

fix(docs): Update ContentSlot Documentation#2713
farnabaz merged 1 commit intonuxt:mainfrom
jacstrong:patch-1

Conversation

@jacstrong
Copy link
Copy Markdown
Contributor

Update ContentSlot Documentation

  • 📖 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

As far as I can tell custom ContentSlot components need to be in the components/content directory. I spent a whole day trying to figure out how to get these working, then simply moved the components to the content directory and it worked. I double checked this functionality with the stackblitz environment linked below. I tried to find the reference code that would actually enforce this, but I couldn't find it.

https://stackblitz.com/edit/github-syrfpd-jmspgd?file=README.md

📝 Checklist

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

As far as I can tell custom ContentSlot components need to be in the `components/content` directory. I spent a whole day trying to figure out how to get these working, then simply moved the components to the content directory and it worked. I double checked this functionality with the stackblitz environment linked below. I tried to find the reference code that would actually enforce this, but I couldn't find it.

https://stackblitz.com/edit/github-syrfpd-jmspgd?file=README.md
Copy link
Copy Markdown
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

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

Thanks

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.

2 participants