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

feat: allow content as object #674

Merged
merged 13 commits into from
May 15, 2023
Merged

feat: allow content as object #674

merged 13 commits into from
May 15, 2023

Conversation

ineshbose
Copy link
Collaborator

@ineshbose ineshbose commented May 10, 2023

resolves #671

This PR required a custom defu merger to consider cases on how configurations could be merged.

(also made PR to content module - nuxt/content#2060)

@what-the-diff
Copy link

what-the-diff bot commented May 10, 2023

PR Summary

  • Update defu to version 2.0
    Updated dependency for improved performance and bug fixes
  • Add configMerger function
    Allows for easier merging of tailwindcss configurations
  • Fix type of resolvedConfig in nuxt hooks
    Corrected data type usage, improving code consistency and maintainability
  • Remove unused import statement
    Cleanup and optimization by removing unnecessary code

src/module.ts Outdated Show resolved Hide resolved
@ineshbose ineshbose marked this pull request as ready for review May 11, 2023 00:00
@ineshbose
Copy link
Collaborator Author

ineshbose commented May 11, 2023

After this is merged, I just have one/two minor PRs more that we can include for 6.7.0 if you'd like.

src/module.ts Outdated Show resolved Hide resolved
src/module.ts Outdated Show resolved Hide resolved
@atinux atinux merged commit 8c4e528 into nuxt-modules:main May 15, 2023
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.

Object notation for tailwind content configuration is currently not supported
2 participants