Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (33 loc) · 788 Bytes

readme.md

File metadata and controls

40 lines (33 loc) · 788 Bytes

Windicss + Astro Integration

npm

Installation


npm i astro-integration-windicss -D
astro.config.ts

import { defineConfig } from "astro/config";
import WindiCSS from "astro-integration-windicss"

export default defineConfig({
  integrations: [
    WindiCSS(),
  ],
});

Visual Studio Code settings


Recommended plugin - WindiCSS IntelliSense

settings.json

{
  "windicss.includeLanguages": {
    "astro": {
      "type": "html",
      "patterns": ["class\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
    }
  }
}