Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new-package] Content collection injection #82

Closed
Fryuni opened this issue May 1, 2024 · 1 comment · Fixed by #90
Closed

[new-package] Content collection injection #82

Fryuni opened this issue May 1, 2024 · 1 comment · Fixed by #90

Comments

@Fryuni
Copy link
Owner

Fryuni commented May 1, 2024

Double trouble:

  • Inject in the file system
  • Inject virtually

Thanks to @BryceRussell for the ideas

@Fryuni
Copy link
Owner Author

Fryuni commented May 1, 2024

// Without any extra config
export const idea7 = {
  docs: defineCollection({

  }),
}

// With some config to disable the auto-injection
export const idea7a = {
  darculaColors: darculaColorCollection({

  }),
  docs: defineCollection({

  }),
}

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 a pull request may close this issue.

1 participant