Skip to content

[Bug?]: Type error when adding Tailwind Vite plugin#1836

Description

@mintydev789

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 馃槸

I get this type error when adding the tailwindcss() Vite plugin using the default project setup (I used Deno though, but probably shouldn't matter).

Image

Expected behavior 馃

No response

Steps to reproduce 馃暪

Steps:

  1. Create new project with the recommended Deno setup: deno run -A npm:create-solid. Use the solid start basic template with Typescript (keep in mind that the official setup hangs after it finishes, requiring Ctrl+Z to exit; this is probably also a bug).
  2. deno add --allow-scripts npm:tailwindcss
  3. Add this to the config object in app.config.ts:
  vite: {
    plugins: [
      tailwindcss(),
    ],
  },

Context 馃敠

No response

Your environment 馃寧

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions