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

not an issue, just a tip for working with tailwind + maud #399

Open
vidhanio opened this issue Nov 24, 2023 · 3 comments
Open

not an issue, just a tip for working with tailwind + maud #399

vidhanio opened this issue Nov 24, 2023 · 3 comments

Comments

@vidhanio
Copy link
Contributor

vidhanio commented Nov 24, 2023

i apologize for creating an issue if it is inappropriate, but i couldn't find a better place to put this tip. if you are working with tailwind + maud and are using the tailwind vscode extension, you can set the following configuration options in your settings.json to get the tailwind autocompletion and hover docs in your maud code:

{
  "tailwindCSS.includeLanguages": {
    "rust": "html"
  },
  "tailwindCSS.experimental.classRegex": [
    ["\\w+((?:\\.\\s*\\S+\\s*)*)", "\\.\"?([^.\"]+)\"?"]
  ]
}
preview screenshot

thank you for the wonderful library! :)

@SenojLuap
Copy link
Contributor

I didn't get this to work. Are there any other settings you changed?

@vidhanio
Copy link
Contributor Author

vidhanio commented Dec 6, 2023

I didn't get this to work. Are there any other settings you changed?

ah yes, i forgot to mention this, i just realized.

{
  "tailwindCSS.includeLanguages": {
    "rust": "html"
  }
}

@hadamove
Copy link

hadamove commented Jan 4, 2024

This was extremely helpful. Perhaps it would make sense to include this in official docs?

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

No branches or pull requests

3 participants