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(tailwindcss): support tailwindcss classes in content (with hmr) #1351

Merged
merged 5 commits into from Jul 12, 2022

Conversation

Tahul
Copy link
Contributor

@Tahul Tahul commented Jul 12, 2022

πŸ”— Linked issue

This PR follows nuxt-modules/tailwindcss#499 ; and move the support to this module instead based on @pi0's comment.

❓ Type of change

  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)

πŸ“š Description

Adds first-class support for @nuxtjs/tailwindcss classes usage inside any content file (even remote sources).

Quick demo:
https://twitter.com/yaeeelglx/status/1546643431216369665

I also upgraded @nuxt/content documentation to use latest Docus (and @nuxt-themes/kit)

πŸ“ Checklist

  • I have updated the documentation accordingly.

cc @farnabaz ; how could we test this feature?

@netlify
Copy link

netlify bot commented Jul 12, 2022

βœ… Deploy Preview for nuxt-content ready!

Name Link
πŸ”¨ Latest commit 8e568c2
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-content/deploys/62cdb4ef281ae90009ae9266
😎 Deploy Preview https://deploy-preview-1351--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.

@Tahul Tahul requested review from farnabaz and Atinux and removed request for farnabaz July 12, 2022 16:15
@Tahul
Copy link
Contributor Author

Tahul commented Jul 12, 2022

(Published the branch so I can use it in tailwindcss module PR: @nuxt/content-edge@2.1.0-27627430.2668cfca)

src/module.ts Outdated Show resolved Hide resolved
@Tahul Tahul merged commit 56a234c into main Jul 12, 2022
@Tahul Tahul deleted the feat/tailwindcss-support branch July 12, 2022 18:11
This was referenced Aug 8, 2022
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.

None yet

3 participants