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

@twind/next comptability #7

Open
zslabs opened this issue Feb 6, 2022 · 0 comments
Open

@twind/next comptability #7

zslabs opened this issue Feb 6, 2022 · 0 comments

Comments

@zslabs
Copy link

zslabs commented Feb 6, 2022

👋 Very excited for all the great progress on 1.0!

Will this plugin need a bit of work to be compatible? I tried a combination of this VS Code plugin, https://github.com/tw-in-js/typescript-plugin and library mode with the following configs:

// tsconfig.json

"plugins": [
  {
    "name": "@twind/typescript-plugin",
    "tags": ["tw", "tx", "className"],
    "atrributes": ["tw", "tx", "className"],
    "debug": true
  }
]

// VS Code settings

"twind.attributes": [
  "tw",
  "tx",

  "className",
  "class"
],
"twind.tags": [
  "tw",
  "tx",
  "className",
  "class"
],

The auto-completions appear to be missing and the hover attrs are a bit spotty:
twind

When the hover attrs trigger, they do pull custom values from twind.config.ts just fine however.

Happy to provide any other info I can. Thanks as always, I really appreciate all the hard work put into this!

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

1 participant