Skip to content

feat(tailwindcss): support tailwindcss classes in content (with hmr) - #1351

Merged
Tahul merged 5 commits into
mainfrom
feat/tailwindcss-support
Jul 12, 2022
Merged

feat(tailwindcss): support tailwindcss classes in content (with hmr)#1351
Tahul merged 5 commits into
mainfrom
feat/tailwindcss-support

Conversation

@Tahul

@TahulTahul commented Jul 12, 2022

Copy link
Copy Markdown
Contributor

🔗 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

netlifyBot commented Jul 12, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt-content ready!

NameLink
🔨 Latest commit8e568c2
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt-content/deploys/62cdb4ef281ae90009ae9266
😎 Deploy Previewhttps://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 atinux and farnabaz and removed request for farnabazJuly 12, 2022 16:15
@Tahul

Copy link
Copy Markdown
ContributorAuthor

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

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

3 participants

@Tahul@atinux@farnabaz