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

@unocss/nuxt

Package Overview
Dependencies
Maintainers
1
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/nuxt

Nuxt module for UnoCSS

  • 0.11.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
55K
decreased by-15.92%
Maintainers
1
Weekly downloads
Β 
Created
Source

@unocss/nuxt

Nuxt module for UnoCSS

Supporting Status

Nuxt 2Nuxt BridgeNuxt 3
Webpack Devβœ…βœ…πŸš§
Webpack Buildβœ…βœ…βœ…
Vite Dev-βœ…βœ…
Vite Build-βœ…βœ…

Installation

npm i -D @unocss/nuxt
// nuxt.config.js

export default {
  buildModules: [
    '@unocss/nuxt'
  ]
}

Configuration

In the Nuxt module, we also provided some shortcuts for official presets:

// nuxt.config.js

export default {
  buildModules: [
    '@unocss/nuxt'
  ],
  unocss: {
    // presets
    uno: true, // enabled `@unocss/preset-uno`
    icons: true, // enabled `@unocss/preset-icons`
    attributify: true, // enabled `@unocss/preset-attributify`,

    // core options
    shortcuts: [],
    rules: [],
  }
}

License

MIT License Β© 2021-PRESENT Anthony Fu

Keywords

FAQs

Package last updated on 22 Nov 2021

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