tw-in-js / vscode-twind-intellisense

Intelligent Twind tooling for VS Code
MIT License
60 stars 10 forks source link

doesn't work in deno environment #9

Closed asrvd closed 2 years ago

asrvd commented 2 years ago

I'm using twind with fresh.deno.dev but the extension doesn't work in any file.

heliumbrain commented 2 years ago

Not sure what the best solution is, but it seems like the plugin is not activating since it can't find a twind config file. Creating a ./config/twind.config.ts file with the following content will make it work:

/** @jsx h */

/** @type {import('twind').Configuration} */
asrvd commented 2 years ago

works, thanks!

image

ps6067966 commented 2 years ago

/* @jsx h /

/* @type {import('twind').Configuration} /

Thank you, it's working.

RichMie commented 1 year ago

Not sure what the best solution is, but it seems like the plugin is not activating since it can't find a twind config file. Creating a ./config/twind.config.ts file with the following content will make it work:

/** @jsx h */

/** @type {import('twind').Configuration} */

Awesome! Thanks:)