Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 834 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 834 Bytes

Astro Breakpoints

Astro Breakpoints

Astro Breakpoints is a dumb little Astro Dev Toolbar App that displays the size of the current viewport—as a tailwind class. I always find it helpful when working on a site to be able to quickly see which Tailwind breakpoint is currently active, maybe you do too?

Installation

To install Astro Breakpoints, run the following command with your preferred package manager:

npx astro add astro-devtool-breakpoints

Usage

import { defineConfig } from "astro/config";

import astroBreakpoints from "astro-devtool-breakpoints";

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

Configuration

You get what you get, and you don't get upset.