Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unocss/astro

Package Overview
Dependencies
Maintainers
1
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/astro

UnoCSS integration for Astro

  • 0.50.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
180K
decreased by-2.59%
Maintainers
1
Weekly downloads
 
Created
Source

@unocss/astro

The UnoCSS integration for Astro. Check the example.

Installation

npm i -D unocss
// astro.config.ts
import UnoCSS from 'unocss/astro'

export default {
  integrations: [
    UnoCSS({ /* options */ }),
  ],
}

Presetless usage

This plugin does not come with any default presets. If you are building a meta framework on top of UnoCSS, see this file for an example to bind the default presets.

npm i -D @unocss/astro
// astro.config.mjs
import UnoCSS from '@unocss/astro'

export default {
  integrations: [
    UnoCSS({
      presets: [
        /* no presets by default */
      ],
      /* options */
    }),
  ],
}

for more details, please refer to the Vite plugin.

License

MIT License © 2021-PRESENT Anthony Fu

Keywords

FAQs

Package last updated on 01 Mar 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc