npm package: @stylify/nuxt
Description: Module for Nuxt v3+ for easier Stylify integration.
Latest version: 0.6.2

<br><br>

<p align="center">
	<a href="https://stylifycss.com" target="_blank" rel="noopener noreferrer">
		<img src="https://stylifycss.com/images/logo/horizontal.svg?v2" height="100" alt="Stylify logo">
	</a>
</p>

<br><br>

<p align="center">
<a href="https://discord.gg/NuJsk5SMDz"><img src="https://img.shields.io/badge/chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
<a href="https://github.com/stylify/packages/discussions"><img src="https://user-images.githubusercontent.com/14016808/132510133-76bb66a9-951f-4411-9236-140cac7b7472.png"></a>
<a href="https://twitter.com/stylifycss"><img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/stylifycss?style=social"></a>
<a href="https://github.com/stylify/packages"><img alt="GitHub Org's stars" src="https://img.shields.io/github/stars/stylify/packages?style=social"></a>
<a href="https://github.com/stylify/packages/blob/master/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/stylify/packages"></a>
<br>
<a href="(https://github.com/stylify/packages/actions/workflows/tests.yaml"><img alt="GitHub Workflow Status (branch)" src="https://github.com/stylify/packages/actions/workflows/tests.yaml/badge.svg"></a>
<a href="https://codecov.io/gh/stylify/packages"><img src="https://codecov.io/gh/stylify/packages/branch/master/graph/badge.svg?token=ZJLKX877DF"/></a>
<a href="https://www.npmjs.com/package/@stylify/nuxt"><img alt="npm" src="https://img.shields.io/npm/v/@stylify/nuxt"></a>
<a href="https://www.npmjs.com/package/@stylify/nuxt"><img alt="npm" src="https://img.shields.io/npm/dm/@stylify/nuxt"></a>
<a href="https://github.com/stylify/packages/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/stylify/packages"></a>
<a href="https://github.com/stylify/packages"><img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/stylify/packages"></a>
<a href="https://github.com/stylify/packages/releases"><img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/stylify/packages"></a>
<a href="https://github.com/stylify/packages"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors/stylify/packages"></a>
</p>

## @stylify/nuxt introduction

**Note:** *This plugin is for Nuxt 3 and newer versions. For older versions see [@stylify/nuxt-module](https://github.com/stylify/packages/tree/master/packages/nuxt-module)*.

Stylify is a library that uses CSS-like selectors to generate optimized utility-first CSS dynamically based on what you write.<br>
Don't study framework. Focus on coding.

The Nuxt module is a package for symplifing the Stylify integration into the Nuxt.js.<br>
It automatically bundles CSS, mangles selectors and also provides a Stylify Profiler extension for easier development.

<p align="center">
<img src="https://raw.githubusercontent.com/stylify/packages/master/stylify-intro-v2.gif" alt="Stylify preview">
</p>

## ⚡ Why Stylify instead of CSS or inline styles?
Because of [fewer CSS headaches](https://stylifycss.com/docs/get-started/why-stylify-css#problems-stylify-css-tries-to-solve), [faster coding](https://stylifycss.com/docs/get-started/why-stylify-css#faster-coding) and [extremely optimized output](https://stylifycss.com/docs/get-started/why-stylify-css#output-optimization).

## ✨ Features

- 💎 [Syntax you already know](https://stylifycss.com/#zero-learning-curve). Don't waste time studying CSS framework.
- 💎 Less switching between HTML/CSS files
- 💎 [Automagic and Extremely tunned CSS optimization](https://stylifycss.com/#optimization)
- 💎 [Simple CSS Bundles splitting](https://stylifycss.com/#bundles-splitting) for Layouts/Pages
- 💎 [Easily Configurable and Extensible](https://stylifycss.com/#configuration)
- 💎 [Prepared components](https://stylifycss.com/#components)
- 💎 Define [Variables](https://stylifycss.com/docs/stylify/compiler#variables), [Components](https://stylifycss.com/docs/stylify/compiler#components), [Custom selectors](https://stylifycss.com/docs/stylify/compiler#customselectors)
- 💎 [Add custom macros](https://stylifycss.com/docs/stylify/compiler#macros) like ml:2
- 💎 Variables can be injected into CSS as CSS variables
- 💎 CSS [variables can differ for each screen](https://stylifycss.com/docs/stylify/compiler#variables)
- 💎 Simplify coding with [helpers](https://stylifycss.com/docs/stylify/compiler#helpers) like `color:lighten(#000,10)`
- 💎 Style any device with dynamic [screens](https://stylifycss.com/docs/stylify/compiler#screens)
- 💎 You can mark areas for which CSS should not be
- 💎 Split bundles for page/layout/component
- 💎 Selectors are minified from long `.color:blue` to short `.a`
- 💎 No purge needed. CSS is generated only when something is matched
- 💎 Components & Custom selectors are attached to utilities. No duplicated `property:value`
- 💎 Hooks can modify CSS or output for example wrap it in CSS layers
- 💎 Mangled (hidden/unreadable) HTML classes in production (if mangled)
- 💎 [Try it with frameworks](https://stylifycss.com/docs/integrations) like Next.js, Astro.build, SolidJS, Qwik Symfony, Nette, Laravel
- 💎 Works with bundlers like Webpack, Rollup, Vite.js
- 💎 Generated CSS can be used within SCSS, Less, Stylus
- 💎 CSS variables can be exported into external files and reused

<p align="center"><a href="https://stylifycss.com"><img src="https://user-images.githubusercontent.com/14016808/132552680-ae877b45-5796-42df-b507-c0f6b9cf4706.png"></a></p>

## 🔥 Prepared Copy&Paste Headless Components
<a href="https://stylifycss.com/snippets/components"><img src="https://stylifycss.com/images/snippets/components/og-image.jpg"></a>

## Want to know more?
- Live examples and tutorials can be found in [documentation](https://stylifycss.com/docs/nuxt).
- Information about each release can be found in [releases](https://github.com/stylify/packages/releases).
- Have an idea? Found a bug? Feel free to create an [issue](https://github.com/stylify/packages/issues).

## Compatibility
| Environment | Version |
|-------------|---------|
| Node        | >= 14   |
| Nuxt.js     | v3      |

## Stay In Touch

- Visit Stylify website [https://stylifycss.com](https://stylifycss.com).
- Follow Stylify on [Twitter](https://twitter.com/stylifycss).
- Join Stylify community on [Discord](https://discord.gg/NuJsk5SMDz).

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright (c) 2021-present, Vladimír Macháček