Replies: 2 comments
-
i have the same error |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related: withastro/astro#14030 Waiting for withastro/astro#14025 PR merge.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I install tailwind with this doc[https://tailwindcss.com/docs/installation/framework-guides/astro], have two problem.
Type 'Plugin$1[]' is not assignable to type 'PluginOption'.
Type 'Plugin$1[]' is not assignable to type 'PluginOption[]'.
Type 'Plugin$1' is not assignable to type 'PluginOption'.
Type 'Plugin$1' is not assignable to type 'Plugin'.
Types of property 'hotUpdate' are incompatible.
Type 'ObjectHook<(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>> | undefined' is not assignable to type 'ObjectHook<(this: HotUpdatePluginContext, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<void | EnvironmentModuleNode[]>> | undefined'.
Type '(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>' is not assignable to type 'ObjectHook<(this: HotUpdatePluginContext, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<void | EnvironmentModuleNode[]>> | undefined'.
Type '(this: MinimalPluginContext & { environment: DevEnvironment; }, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<...>' is not assignable to type '(this: HotUpdatePluginContext, options: HotUpdateOptions) => void | EnvironmentModuleNode[] | Promise<void | EnvironmentModuleNode[]>'.
The 'this' types of each signature are incompatible.
Type 'HotUpdatePluginContext' is not assignable to type 'MinimalPluginContext & { environment: DevEnvironment; }'.
Type 'HotUpdatePluginContext' is missing the following properties from type 'MinimalPluginContext': debug, error, info, meta, warnts(2322)
(alias) tailwindcss(): Plugin$1[]
npm list vite @tailwindcss/vite
frontend@0.0.1
├─┬ @astrojs/react@4.3.0
│ ├─┬ @vitejs/plugin-react@4.6.0
│ │ └── vite@7.0.2 deduped
│ └── vite@6.3.5
├─┬ @tailwindcss/vite@4.1.11
│ └── vite@7.0.2
└─┬ astro@5.11.0
├── vite@6.3.5
└─┬ vitefu@1.1.1
└── vite@7.0.2 deduped
theme: {
extend: {
colors: {
testcolor: '#00ff00',
primary: {
DEFAULT: "#ef483d",
foreground: "hsl(var(--primary-foreground))",
},
}}}
Beta Was this translation helpful? Give feedback.
All reactions