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
147
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.47.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
91K
decreased by-47.51%
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 29 Nov 2022

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