You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin requires TypeScript 4.1 or later. It can provide intellisense in both JavaScript and TypeScript files within any editor that uses TypeScript to power their language features. This includes [VS Code](https://code.visualstudio.com), [Sublime with the TypeScript plugin](https://github.com/Microsoft/TypeScript-Sublime-Plugin), [Atom with the TypeScript plugin](https://atom.io/packages/atom-typescript), [Visual Studio](https://www.visualstudio.com), and others.
50
50
51
-
If you have a custom twind configuration you need to extract that into an own file. Create a `twind.config.{ts,js,cjs,mjs}` in your root folder. Here is using a custom plugin:
51
+
If you have a custom twind configuration you need to extract that into an own file. Create a `twind.config.{ts,js,cjs,mjs}` in the root , `src` or `public`folder. Then import it for use with setup. Here is example using a custom plugin:
52
52
53
53
```js
54
54
import { forms, formInput } from'@twind/forms'
@@ -58,6 +58,7 @@ export default {
58
58
plugins: { forms, 'form-input': formInput}
59
59
}
60
60
61
+
// Augment the twind module to add addtional completions
61
62
declare module'twind' {
62
63
interface Plugins {
63
64
// forms should have been detected from setup – not need to add it
0 commit comments