Socket
Book a DemoInstallSign in
Socket

stein-plugin-unocss

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stein-plugin-unocss

Stein plugin for UnoCSS.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

stein-plugin-unocss

Based on @unocss/astro integration.

Installation

bun add -D stein-plugin-unocss
npm add -D stein-plugin-unocss
yarn add -D stein-plugin-unocss
pnpm add -D stein-plugin-unocss

Usage

import { defineConfig } from "@steinjs/core";
import unocss from "stein-plugin-unocss";

export default defineConfig({
  plugins: [unocss({
    // options, see below
  })]
});

If you use injectReset: true, make sure to also install @unocss/reset:

bun add @unocss/reset
npm add @unocss/reset
yarn add @unocss/reset
pnpm add @unocss/reset

Options

PropertyTypeDefaultDescription
injectEntrybooleantrueAutomatically add UnoCSS entry import in the index.html.
injectResetboolean | stringfalseWhen passing true, @unocss/reset/tailwind.css will be used.
injectExtrastring[][]Inject extra imports.

FAQs

Package last updated on 27 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.